OSDN Git Service

Handle ARMv6-J as an alias, instead of fake architecture
authorArtyom Skrobov <Artyom.Skrobov@arm.com>
Fri, 20 Nov 2015 16:46:09 +0000 (16:46 +0000)
committerArtyom Skrobov <Artyom.Skrobov@arm.com>
Fri, 20 Nov 2015 16:46:09 +0000 (16:46 +0000)
commit7cbf72b4896c055cae285d7e488b8de18aa835f7
tree090dbfbb8868ad345eca33cbbd79db94f6260e6b
parentc6b24c2806aa07c6b0dcba478314d5c5a24ced34
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
include/llvm/Support/ARMTargetParser.def
lib/Support/TargetParser.cpp
lib/Support/Triple.cpp
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
test/MC/ARM/directive-arch-armv6j.s [deleted file]
unittests/ADT/TripleTest.cpp