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/Basic/Targets.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/Basic/Targets.cpp')
-rw-r--r-- | clang/lib/Basic/Targets.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index fe72fe1e19a..b0ca5a547c5 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -6019,7 +6019,6 @@ static TargetInfo *AllocateTarget(const llvm::Triple &Triple) { return new HexagonTargetInfo(Triple); case llvm::Triple::aarch64: - case llvm::Triple::arm64: if (Triple.isOSDarwin()) return new DarwinAArch64TargetInfo(Triple); @@ -6033,7 +6032,6 @@ static TargetInfo *AllocateTarget(const llvm::Triple &Triple) { } case llvm::Triple::aarch64_be: - case llvm::Triple::arm64_be: switch (os) { case llvm::Triple::Linux: return new LinuxTargetInfo<AArch64beTargetInfo>(Triple); |