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)
commite19bed7d33f1e3083fe48edc7627f8b961848e3f
tree941a3a2e3d878810d48fcd7cde0c3a173d390a1a
parent54d8ee6d7b5843c7850e0c1f4ae702f1b810fb5c
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.

llvm-svn: 213743
12 files changed:
llvm/include/llvm/ADT/Triple.h
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
llvm/lib/LTO/LTOCodeGenerator.cpp
llvm/lib/LTO/LTOModule.cpp
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/lib/Object/MachOObjectFile.cpp
llvm/lib/Support/Triple.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
llvm/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp