diff options
author | Tim Northover <tnorthover@apple.com> | 2014-07-23 12:32:58 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-07-23 12:32:58 +0000 |
commit | 40956e64f26a2ee37f799729884a8bddc3a72edf (patch) | |
tree | 23263ffe605d00a02aef01fdbf9f268e8ac2a570 /clang/lib/CodeGen/TargetInfo.cpp | |
parent | e19bed7d33f1e3083fe48edc7627f8b961848e3f (diff) | |
download | bcm5719-llvm-40956e64f26a2ee37f799729884a8bddc3a72edf.tar.gz bcm5719-llvm-40956e64f26a2ee37f799729884a8bddc3a72edf.zip |
AArch64: update Clang for merged arm64/aarch64 triples.
The main subtlety here is that the Darwin tools still need to be given "-arch
arm64" rather than "-arch aarch64". Fortunately this already goes via a custom
function to handle weird edge-cases in other architectures, and it tested.
I removed a few arm64_be tests because that really isn't an interesting thing
to worry about. No-one using big-endian is also referring to the target as
arm64 (at least as far as toolchains go). Mostly they date from when arm64 was
a separate target and we *did* need a parallel name simply to test it at all.
Now aarch64_be is sufficient.
llvm-svn: 213744
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index 5da22c3e6cb..40fc51146aa 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/lib/CodeGen/TargetInfo.cpp @@ -6751,9 +6751,7 @@ const TargetCodeGenInfo &CodeGenModule::getTargetCodeGenInfo() { return *(TheTargetCodeGenInfo = new MIPSTargetCodeGenInfo(Types, false)); case llvm::Triple::aarch64: - case llvm::Triple::aarch64_be: - case llvm::Triple::arm64: - case llvm::Triple::arm64_be: { + case llvm::Triple::aarch64_be: { AArch64ABIInfo::ABIKind Kind = AArch64ABIInfo::AAPCS; if (getTarget().getABI() == "darwinpcs") Kind = AArch64ABIInfo::DarwinPCS; |