[PATCH] Fix the prefix for arm64 triple
Yi Kong
kongy.dev at gmail.com
Tue Jul 15 03:38:54 PDT 2014
Hi t.p.northover, grosbach, rengolin,
Triple.cpp still returns "arm64" as prefix for arm64 triple, causing Clang not being able to select the correct GCCBuiltin IR.
This patch changes the value to correct prefix "aarch64". Regression test will be added in the coming patch.
http://reviews.llvm.org/D4516
Files:
lib/Support/Triple.cpp
Index: lib/Support/Triple.cpp
===================================================================
--- lib/Support/Triple.cpp
+++ lib/Support/Triple.cpp
@@ -61,17 +61,16 @@
default:
return nullptr;
+ case arm64:
+ case arm64_be:
case aarch64:
case aarch64_be: return "aarch64";
case arm:
case armeb:
case thumb:
case thumbeb: return "arm";
- case arm64:
- case arm64_be: return "arm64";
-
case ppc64:
case ppc64le:
case ppc: return "ppc";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4516.11433.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140715/0af95581/attachment.bin>
More information about the llvm-commits
mailing list