[PATCH] D14568: Handle ARMv6KZ naming

A. Skrobov via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 03:51:52 PST 2015


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

* ARMv6KZ is the "canonical" name, given in the ARMARM
* ARMv6Z is an "official abbreviation" for it, mentioned in the ARMARM
* ARMv6ZK is a popular misspelling, which we should support as an alias.

The patch corrects the handling of the names.

Functional changes:
* ARMv6Z no longer treated as an architecture in its own right
* ARMv6ZK renamed to ARMv6KZ, accepting ARMv6ZK as an alias
* arm1176jz-s and arm1176jzf-s recognized as ARMv6ZK, instead of ARMv6K
* default ARMv6K CPU changed to arm1176j-s

http://reviews.llvm.org/D14568

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-armv6z.s
  test/MC/ARM/directive-arch-armv6zk.s
  unittests/ADT/TripleTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14568.39899.patch
Type: text/x-patch
Size: 5886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151111/4354c029/attachment.bin>


More information about the llvm-commits mailing list