diff options
author | Artyom Skrobov <Artyom.Skrobov@arm.com> | 2015-11-20 16:46:09 +0000 |
---|---|---|
committer | Artyom Skrobov <Artyom.Skrobov@arm.com> | 2015-11-20 16:46:09 +0000 |
commit | 7cbf72b4896c055cae285d7e488b8de18aa835f7 (patch) | |
tree | 090dbfbb8868ad345eca33cbbd79db94f6260e6b /unittests/ADT/TripleTest.cpp | |
parent | c6b24c2806aa07c6b0dcba478314d5c5a24ced34 (diff) |
Handle ARMv6-J as an alias, instead of fake architecture
Summary:
This follows D14577 to treat ARMv6-J as an alias for ARMv6,
instead of an architecture in its own right.
The functional change is that the default CPU when targeting ARMv6-J
changes from arm1136j-s to arm1136jf-s, which is currently used as
the default CPU for ARMv6; both are, in fact, ARMv6-J CPUs.
The J-bit (Jazelle support) is irrelevant to LLVM, and it doesn't
affect code generation, attributes, optimizations, or anything else,
apart from selecting the default CPU.
Reviewers: rengolin, logan, compnerd
Subscribers: aemerson, llvm-commits, rengolin
Differential Revision: http://reviews.llvm.org/D14755
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253675 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT/TripleTest.cpp')
-rw-r--r-- | unittests/ADT/TripleTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ADT/TripleTest.cpp b/unittests/ADT/TripleTest.cpp index ff29b64ea07..ac4fa2274e9 100644 --- a/unittests/ADT/TripleTest.cpp +++ b/unittests/ADT/TripleTest.cpp @@ -852,7 +852,7 @@ TEST(TripleTest, getARMCPUForArch) { } { llvm::Triple Triple("armv6j-unknown-eabi"); - EXPECT_EQ("arm1136j-s", Triple.getARMCPUForArch()); + EXPECT_EQ("arm1136jf-s", Triple.getARMCPUForArch()); } { llvm::Triple Triple("armv6k-unknown-eabi"); |