]> granicus.if.org Git - clang/commitdiff
[OPENMP][AARCH64]Fix the test for declare simd, NFC.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 25 Apr 2019 14:04:37 +0000 (14:04 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 25 Apr 2019 14:04:37 +0000 (14:04 +0000)
Renamed function a01 in the test to fix possible problems with the git
hash match during testing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359193 91177308-0d34-0410-b5e6-96231b3b80d8

test/OpenMP/declare_simd_aarch64_sve.c

index 6c5dcead83d06d4f76caf71d6040668336537468..82f85c413ba6b73d17962e126f83f969e1ec9fcf 100644 (file)
@@ -33,12 +33,12 @@ void foo_loop(double *x, float *y, int N) {
   // test integers
 
 #pragma omp declare simd notinbranch
-char a01(int x);
-// CHECK-DAG: _ZGVsMxv_a01
-// CHECK-NOT: a01
+char a01_fun(int x);
+// CHECK-DAG: _ZGVsMxv_a01_fun
+// CHECK-NOT: a01_fun
 
 static int *in;
 static char *out;
 void do_something() {
-  *out = a01(*in);
+  *out = a01_fun(*in);
 }