mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-24 12:29:33 +00:00
Fix the prefix for arm64 triple
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. Differential Revision: http://reviews.llvm.org/D4516 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213240 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e1287f556f
commit
ad591b341b
@ -61,6 +61,8 @@ const char *Triple::getArchTypePrefix(ArchType Kind) {
|
||||
default:
|
||||
return nullptr;
|
||||
|
||||
case arm64:
|
||||
case arm64_be:
|
||||
case aarch64:
|
||||
case aarch64_be: return "aarch64";
|
||||
|
||||
@ -69,9 +71,6 @@ const char *Triple::getArchTypePrefix(ArchType Kind) {
|
||||
case thumb:
|
||||
case thumbeb: return "arm";
|
||||
|
||||
case arm64:
|
||||
case arm64_be: return "arm64";
|
||||
|
||||
case ppc64:
|
||||
case ppc64le:
|
||||
case ppc: return "ppc";
|
||||
|
Loading…
x
Reference in New Issue
Block a user