]> granicus.if.org Git - clang/commitdiff
Fix test/OpenMP/nvptx_data_sharing.cpp
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Tue, 21 Nov 2017 16:49:11 +0000 (16:49 +0000)
committerJonas Hahnfeld <hahnjo@hahnjo.de>
Tue, 21 Nov 2017 16:49:11 +0000 (16:49 +0000)
This was an oversight that stayed in the test from development.

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

test/OpenMP/nvptx_data_sharing.cpp

index c52e018e3025e1417d900d7361ff56debe80bed0..4b8d2df1dab3e6a8a65d56b7e1ed4c5ad08abe08 100644 (file)
@@ -26,7 +26,7 @@ void test_ds(){
 // CK1: [[SHAREDARGS:%.+]] = alloca i8**
 // CK1: call i1 @__kmpc_kernel_parallel(i8** %work_fn, i8*** [[SHAREDARGS]])
 // CK1: [[SHARGSTMP:%.+]] = load i8**, i8*** [[SHAREDARGS]]
-// CK1: call void @__omp_outlined___wrapper{{.*}}({{.*}}, i8** %5)
+// CK1: call void @__omp_outlined___wrapper{{.*}}({{.*}}, i8** [[SHARGSTMP]])
 
 /// ========= In the kernel function ========= ///
 
@@ -49,4 +49,4 @@ void test_ds(){
 // CK1: [[SHARGSTMP6:%.+]] = load i32*, i32** [[SHARGSTMP5]]
 // CK1: call void @__omp_outlined__({{.*}}, i32* [[SHARGSTMP6]])
 
-#endif
\ No newline at end of file
+#endif