r318779 - Fix test/OpenMP/nvptx_data_sharing.cpp
Jonas Hahnfeld via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 21 08:49:12 PST 2017
Author: hahnfeld
Date: Tue Nov 21 08:49:11 2017
New Revision: 318779
URL: http://llvm.org/viewvc/llvm-project?rev=318779&view=rev
Log:
Fix test/OpenMP/nvptx_data_sharing.cpp
This was an oversight that stayed in the test from development.
Modified:
cfe/trunk/test/OpenMP/nvptx_data_sharing.cpp
Modified: cfe/trunk/test/OpenMP/nvptx_data_sharing.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/nvptx_data_sharing.cpp?rev=318779&r1=318778&r2=318779&view=diff
==============================================================================
--- cfe/trunk/test/OpenMP/nvptx_data_sharing.cpp (original)
+++ cfe/trunk/test/OpenMP/nvptx_data_sharing.cpp Tue Nov 21 08:49:11 2017
@@ -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
More information about the cfe-commits
mailing list