Handle ARMv6KZ naming
authorArtyom Skrobov <Artyom.Skrobov@arm.com>
Mon, 16 Nov 2015 14:05:32 +0000 (14:05 +0000)
committerArtyom Skrobov <Artyom.Skrobov@arm.com>
Mon, 16 Nov 2015 14:05:32 +0000 (14:05 +0000)
commit4c351fd4e8436df6bef759bc75d468785da72467
tree0a6e11a752bc67071ea0d66a22969a832cd54699
parent05400e9493fe6f8290516f854f911932835d34ef
Handle ARMv6KZ naming

Summary:
* 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

Reviewers: rengolin, logan, compnerd

Subscribers: aemerson, llvm-commits, rengolin

Differential Revision: http://reviews.llvm.org/D14568

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253206 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ARMTargetParser.def
lib/Support/TargetParser.cpp
lib/Support/Triple.cpp
lib/Target/ARM/ARM.td
lib/Target/ARM/ARMSubtarget.h
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
test/MC/ARM/directive-arch-armv6z.s
test/MC/ARM/directive-arch-armv6zk.s [deleted file]
unittests/ADT/TripleTest.cpp