From: Jonas Hahnfeld Date: Tue, 21 Nov 2017 16:49:11 +0000 (+0000) Subject: Fix test/OpenMP/nvptx_data_sharing.cpp X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58834f07300dc9eadc56bd012ab76bb9a1079477;p=clang Fix test/OpenMP/nvptx_data_sharing.cpp 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 --- diff --git a/test/OpenMP/nvptx_data_sharing.cpp b/test/OpenMP/nvptx_data_sharing.cpp index c52e018e30..4b8d2df1da 100644 --- a/test/OpenMP/nvptx_data_sharing.cpp +++ b/test/OpenMP/nvptx_data_sharing.cpp @@ -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