[PATCH] D14755: Handle ARMv6-J as an alias, instead of fake architecture

A. Skrobov via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 14:22:05 PST 2015


tyomitch created this revision.
tyomitch added reviewers: rengolin, logan, compnerd.
tyomitch added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.

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.

http://reviews.llvm.org/D14755

Files:
  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
  unittests/ADT/TripleTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14755.40430.patch
Type: text/x-patch
Size: 4735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151117/58c73f47/attachment.bin>


More information about the llvm-commits mailing list