The arm64 triple requires AArch64 not ARM target
authorPaul Robinson <paul.robinson@sony.com>
Tue, 10 Nov 2020 16:18:19 +0000 (08:18 -0800)
committerPaul Robinson <paul.robinson@sony.com>
Tue, 10 Nov 2020 16:19:02 +0000 (08:19 -0800)
Failure seen if you configure ARM target but not AArch64, as here:
http://lab.llvm.org:8011/#/builders/59/builds/271

llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/aarch64_function_name.ll
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/arm_function_name.ll

index 1ea9d20..f097a65 100644 (file)
@@ -1,5 +1,6 @@
 ; Check that we accept functions with '$' in the name.
 ;
+; RUN: llc -mtriple=arm64-unknown-linux < %s | FileCheck --prefi=LINUX %s
 ; RUN: llc -mtriple=aarch64-unknown-linux < %s | FileCheck --check-prefix=LINUX %s
 ; RUN: llc -mtriple=aarch64-apple-darwin < %s | FileCheck --check-prefix=DARWIN %s
 ;
index 6c0f9e9..43d69bc 100644 (file)
@@ -1,6 +1,5 @@
 ; Check that we accept functions with '$' in the name.
 ;
-; RUN: llc -mtriple=arm64-unknown-linux < %s | FileCheck --prefi=LINUX %s
 ; RUN: llc -mtriple=armv7-apple-darwin < %s | FileCheck --prefix=DARWIN %s
 ; RUN: llc -mtriple=armv7-apple-ios < %s | FileCheck --prefix=IOS %s
 ;