AArch64: remove arm64 triple enumerator.
authorTim Northover <tnorthover@apple.com>
Wed, 23 Jul 2014 12:32:47 +0000 (12:32 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 23 Jul 2014 12:32:47 +0000 (12:32 +0000)
commit9231148e693177e922cf98eca6a146e648e29d0b
treee38be5c2765e068f7673e0679202de433d06a940
parentbf0fb36d7229d2e0d71474e7597201062fb06577
AArch64: remove arm64 triple enumerator.

Having both Triple::arm64 and Triple::aarch64 is extremely confusing, and
invites bugs where only one is checked. In reality, the only legitimate
difference between the two (arm64 usually means iOS) is also present in the OS
part of the triple and that's what should be checked.

We still parse the "arm64" triple, just canonicalise it to Triple::aarch64, so
there aren't any LLVM-side test changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213743 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/ADT/Triple.h
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
lib/LTO/LTOCodeGenerator.cpp
lib/LTO/LTOModule.cpp
lib/MC/MCObjectFileInfo.cpp
lib/Object/MachOObjectFile.cpp
lib/Support/Triple.cpp
lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp