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.

llvm-svn: 318779

clang/test/OpenMP/nvptx_data_sharing.cpp

index c52e018..4b8d2df 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