Author: Thomas Preud'homme Date: 2021-04-02T00:36:14+01:00 New Revision: d222a07d3023599b8090ed20ca9137b128f5af6c
URL: https://github.com/llvm/llvm-project/commit/d222a07d3023599b8090ed20ca9137b128f5af6c DIFF: https://github.com/llvm/llvm-project/commit/d222a07d3023599b8090ed20ca9137b128f5af6c.diff LOG: [OpenMP, test] Fix uses of undef S*VAR FileCheck var Fix the many cases of use of undefined SIVAR/SVAR/SFVAR in OpenMP *private_codegen tests, due to a missing BLOCK directive to capture the IR variable when it is declared. It also fixes a few typo in its use. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D99770 Added: Modified: clang/test/OpenMP/for_firstprivate_codegen.cpp clang/test/OpenMP/for_private_codegen.cpp clang/test/OpenMP/master_taskloop_firstprivate_codegen.cpp clang/test/OpenMP/master_taskloop_lastprivate_codegen.cpp clang/test/OpenMP/master_taskloop_private_codegen.cpp clang/test/OpenMP/master_taskloop_simd_firstprivate_codegen.cpp clang/test/OpenMP/master_taskloop_simd_lastprivate_codegen.cpp clang/test/OpenMP/master_taskloop_simd_private_codegen.cpp clang/test/OpenMP/nvptx_target_firstprivate_codegen.cpp clang/test/OpenMP/parallel_firstprivate_codegen.cpp clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp clang/test/OpenMP/parallel_master_taskloop_private_codegen.cpp clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp clang/test/OpenMP/parallel_master_taskloop_simd_private_codegen.cpp clang/test/OpenMP/parallel_private_codegen.cpp clang/test/OpenMP/sections_firstprivate_codegen.cpp clang/test/OpenMP/sections_lastprivate_codegen.cpp clang/test/OpenMP/sections_private_codegen.cpp clang/test/OpenMP/single_firstprivate_codegen.cpp clang/test/OpenMP/single_private_codegen.cpp clang/test/OpenMP/task_firstprivate_codegen.cpp clang/test/OpenMP/task_private_codegen.cpp clang/test/OpenMP/taskloop_firstprivate_codegen.cpp clang/test/OpenMP/taskloop_lastprivate_codegen.cpp clang/test/OpenMP/taskloop_private_codegen.cpp clang/test/OpenMP/taskloop_simd_firstprivate_codegen.cpp clang/test/OpenMP/taskloop_simd_lastprivate_codegen.cpp clang/test/OpenMP/taskloop_simd_private_codegen.cpp Removed: ################################################################################ diff --git a/clang/test/OpenMP/for_firstprivate_codegen.cpp b/clang/test/OpenMP/for_firstprivate_codegen.cpp index 510453afd2c7..d1fc55285044 100644 --- a/clang/test/OpenMP/for_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/for_firstprivate_codegen.cpp @@ -147,6 +147,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global i{{[0-9]+}} 1212, + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ diff --git a/clang/test/OpenMP/for_private_codegen.cpp b/clang/test/OpenMP/for_private_codegen.cpp index 63b7aab4e486..39052fb814a6 100644 --- a/clang/test/OpenMP/for_private_codegen.cpp +++ b/clang/test/OpenMP/for_private_codegen.cpp @@ -110,6 +110,8 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] = {{(dso_local )?}}global double + // BLOCKS: [[SVAR:@.+]] = internal global i{{[0-9]+}} 0, + // BLOCKS: [[SFVAR:@.+]] = internal global float 0.000000e+00, // BLOCKS-LABEL: @main // BLOCKS: call {{.*}}void {{%.+}}(i8 ^{ diff --git a/clang/test/OpenMP/master_taskloop_firstprivate_codegen.cpp b/clang/test/OpenMP/master_taskloop_firstprivate_codegen.cpp index 9aa1affc4bb5..35e7e4902be3 100644 --- a/clang/test/OpenMP/master_taskloop_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/master_taskloop_firstprivate_codegen.cpp @@ -109,6 +109,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ @@ -137,7 +138,7 @@ int main() { // BLOCKS-NOT: [[G]]{{[[^:word:]]}} // BLOCKS: store volatile double 2.0{{.+}}, double* // BLOCKS-NOT: [[G]]{{[[^:word:]]}} - // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}} + // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}* // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: ret diff --git a/clang/test/OpenMP/master_taskloop_lastprivate_codegen.cpp b/clang/test/OpenMP/master_taskloop_lastprivate_codegen.cpp index a7d2d792af89..6fc76077d5b1 100644 --- a/clang/test/OpenMP/master_taskloop_lastprivate_codegen.cpp +++ b/clang/test/OpenMP/master_taskloop_lastprivate_codegen.cpp @@ -103,6 +103,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ @@ -117,7 +118,7 @@ int main() { // BLOCKS-NOT: [[G]]{{[[^:word:]]}} // BLOCKS: store double 2.0{{.+}}, double* // BLOCKS-NOT: [[G]]{{[[^:word:]]}} - // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}} + // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}* // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: ret diff --git a/clang/test/OpenMP/master_taskloop_private_codegen.cpp b/clang/test/OpenMP/master_taskloop_private_codegen.cpp index d70f367d3ba5..d960427a464b 100644 --- a/clang/test/OpenMP/master_taskloop_private_codegen.cpp +++ b/clang/test/OpenMP/master_taskloop_private_codegen.cpp @@ -93,6 +93,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ diff --git a/clang/test/OpenMP/master_taskloop_simd_firstprivate_codegen.cpp b/clang/test/OpenMP/master_taskloop_simd_firstprivate_codegen.cpp index 75cb0c0cbb67..1ec41bb47ca3 100644 --- a/clang/test/OpenMP/master_taskloop_simd_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/master_taskloop_simd_firstprivate_codegen.cpp @@ -102,6 +102,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ @@ -123,7 +124,7 @@ int main() { // BLOCKS-NOT: [[G]]{{[[^:word:]]}} // BLOCKS: store volatile double 2.0{{.+}}, double* // BLOCKS-NOT: [[G]]{{[[^:word:]]}} - // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}} + // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}* // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: ret diff --git a/clang/test/OpenMP/master_taskloop_simd_lastprivate_codegen.cpp b/clang/test/OpenMP/master_taskloop_simd_lastprivate_codegen.cpp index cd4ec48f493f..01ff37414159 100644 --- a/clang/test/OpenMP/master_taskloop_simd_lastprivate_codegen.cpp +++ b/clang/test/OpenMP/master_taskloop_simd_lastprivate_codegen.cpp @@ -101,6 +101,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ @@ -115,7 +116,7 @@ int main() { // BLOCKS-NOT: [[G]]{{[[^:word:]]}} // BLOCKS: store double 2.0{{.+}}, double* // BLOCKS-NOT: [[G]]{{[[^:word:]]}} - // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}} + // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}* // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: ret diff --git a/clang/test/OpenMP/master_taskloop_simd_private_codegen.cpp b/clang/test/OpenMP/master_taskloop_simd_private_codegen.cpp index 26f7d6ff0730..bdf6c0fe2491 100644 --- a/clang/test/OpenMP/master_taskloop_simd_private_codegen.cpp +++ b/clang/test/OpenMP/master_taskloop_simd_private_codegen.cpp @@ -93,6 +93,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ diff --git a/clang/test/OpenMP/nvptx_target_firstprivate_codegen.cpp b/clang/test/OpenMP/nvptx_target_firstprivate_codegen.cpp index 2c15eb6780de..70f5a1f849be 100644 --- a/clang/test/OpenMP/nvptx_target_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/nvptx_target_firstprivate_codegen.cpp @@ -102,7 +102,7 @@ int foo(int n, double *ptr) { // TCHECK-NOT: alloca double*, // TCHECK: store double* [[PTR_IN]], double** [[PTR_ADDR]], // TCHECK: [[PTR_IN_REF:%.+]] = load double*, double** [[PTR_ADDR]], - // TCHECK-NOT: store double* [[PTR_IN_REF]], double** [[PTR_PRIV]], + // TCHECK-NOT: store double* [[PTR_IN_REF]], double** {{%.+}}, return a; } diff --git a/clang/test/OpenMP/parallel_firstprivate_codegen.cpp b/clang/test/OpenMP/parallel_firstprivate_codegen.cpp index 3d44d743bea0..8b445f2c1524 100644 --- a/clang/test/OpenMP/parallel_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/parallel_firstprivate_codegen.cpp @@ -237,6 +237,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global i{{[0-9]+}} 1212, + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call // BLOCKS: call {{.*}}void {{%.+}}(i8 diff --git a/clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp b/clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp index fa8d1f600a22..5df64611fde5 100644 --- a/clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp @@ -109,6 +109,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ @@ -137,7 +138,7 @@ int main() { // BLOCKS-NOT: [[G]]{{[[^:word:]]}} // BLOCKS: store double 2.0{{.+}}, double* // BLOCKS-NOT: [[G]]{{[[^:word:]]}} - // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}} + // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}* // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: ret diff --git a/clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp b/clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp index 1b978e9b0485..cee9c14add90 100644 --- a/clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp +++ b/clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp @@ -103,6 +103,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ @@ -117,7 +118,7 @@ int main() { // BLOCKS-NOT: [[G]]{{[[^:word:]]}} // BLOCKS: store double 2.0{{.+}}, double* // BLOCKS-NOT: [[G]]{{[[^:word:]]}} - // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}} + // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}* // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: ret diff --git a/clang/test/OpenMP/parallel_master_taskloop_private_codegen.cpp b/clang/test/OpenMP/parallel_master_taskloop_private_codegen.cpp index 5122aeafeee8..0dd3046fe98f 100644 --- a/clang/test/OpenMP/parallel_master_taskloop_private_codegen.cpp +++ b/clang/test/OpenMP/parallel_master_taskloop_private_codegen.cpp @@ -93,6 +93,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ diff --git a/clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp b/clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp index 5ee554eda315..bfb9ad713576 100644 --- a/clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp @@ -109,6 +109,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ @@ -137,7 +138,7 @@ int main() { // BLOCKS-NOT: [[G]]{{[[^:word:]]}} // BLOCKS: store double 2.0{{.+}}, double* // BLOCKS-NOT: [[G]]{{[[^:word:]]}} - // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}} + // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}* // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: ret diff --git a/clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp b/clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp index 81802179a79e..3f2f986f8702 100644 --- a/clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp +++ b/clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp @@ -103,6 +103,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ @@ -117,7 +118,7 @@ int main() { // BLOCKS-NOT: [[G]]{{[[^:word:]]}} // BLOCKS: store double 2.0{{.+}}, double* // BLOCKS-NOT: [[G]]{{[[^:word:]]}} - // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}} + // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}* // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: ret diff --git a/clang/test/OpenMP/parallel_master_taskloop_simd_private_codegen.cpp b/clang/test/OpenMP/parallel_master_taskloop_simd_private_codegen.cpp index aa51ca51a200..820f8747a80b 100644 --- a/clang/test/OpenMP/parallel_master_taskloop_simd_private_codegen.cpp +++ b/clang/test/OpenMP/parallel_master_taskloop_simd_private_codegen.cpp @@ -93,6 +93,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ diff --git a/clang/test/OpenMP/parallel_private_codegen.cpp b/clang/test/OpenMP/parallel_private_codegen.cpp index afa560a19748..4efa8d8f637a 100644 --- a/clang/test/OpenMP/parallel_private_codegen.cpp +++ b/clang/test/OpenMP/parallel_private_codegen.cpp @@ -190,6 +190,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] = {{(dso_local )?}}global i{{[0-9]+}} 1212, + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call // BLOCKS: call{{.*}} void {{%.+}}(i8 diff --git a/clang/test/OpenMP/sections_firstprivate_codegen.cpp b/clang/test/OpenMP/sections_firstprivate_codegen.cpp index 95e71797cba8..156bed852abb 100644 --- a/clang/test/OpenMP/sections_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/sections_firstprivate_codegen.cpp @@ -133,6 +133,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global i{{[0-9]+}} 1212, + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ diff --git a/clang/test/OpenMP/sections_lastprivate_codegen.cpp b/clang/test/OpenMP/sections_lastprivate_codegen.cpp index df974ecce94a..3982cdafa422 100644 --- a/clang/test/OpenMP/sections_lastprivate_codegen.cpp +++ b/clang/test/OpenMP/sections_lastprivate_codegen.cpp @@ -148,6 +148,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global i{{[0-9]+}} 1212, + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ diff --git a/clang/test/OpenMP/sections_private_codegen.cpp b/clang/test/OpenMP/sections_private_codegen.cpp index 5a10bd630212..53a2e5c9c0ea 100644 --- a/clang/test/OpenMP/sections_private_codegen.cpp +++ b/clang/test/OpenMP/sections_private_codegen.cpp @@ -93,6 +93,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] = {{(dso_local )?}}global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call {{.*}}void {{%.+}}(i8 ^{ diff --git a/clang/test/OpenMP/single_firstprivate_codegen.cpp b/clang/test/OpenMP/single_firstprivate_codegen.cpp index d2c9053c9160..f200188c91cb 100644 --- a/clang/test/OpenMP/single_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/single_firstprivate_codegen.cpp @@ -117,6 +117,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global i{{[0-9]+}} 1212, + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ diff --git a/clang/test/OpenMP/single_private_codegen.cpp b/clang/test/OpenMP/single_private_codegen.cpp index 93c850aadfd0..4408e132a973 100644 --- a/clang/test/OpenMP/single_private_codegen.cpp +++ b/clang/test/OpenMP/single_private_codegen.cpp @@ -87,6 +87,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] = {{(dso_local )?}}global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call {{.*}}void {{%.+}}(i8 ^{ diff --git a/clang/test/OpenMP/task_firstprivate_codegen.cpp b/clang/test/OpenMP/task_firstprivate_codegen.cpp index 31fc7838af4e..1953b1ebf855 100644 --- a/clang/test/OpenMP/task_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/task_firstprivate_codegen.cpp @@ -131,7 +131,7 @@ int main() { // BLOCKS-NOT: [[G]]{{[[^:word:]]}} // BLOCKS: store volatile double 2.0{{.+}}, double* // BLOCKS-NOT: [[G]]{{[[^:word:]]}} - // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}} + // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}* // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: ret diff --git a/clang/test/OpenMP/task_private_codegen.cpp b/clang/test/OpenMP/task_private_codegen.cpp index 54f4907a9fef..f582e89d0a36 100644 --- a/clang/test/OpenMP/task_private_codegen.cpp +++ b/clang/test/OpenMP/task_private_codegen.cpp @@ -93,6 +93,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ diff --git a/clang/test/OpenMP/taskloop_firstprivate_codegen.cpp b/clang/test/OpenMP/taskloop_firstprivate_codegen.cpp index 7c9d28bda0e7..dc0a5600d1bb 100644 --- a/clang/test/OpenMP/taskloop_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/taskloop_firstprivate_codegen.cpp @@ -102,6 +102,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ @@ -123,7 +124,7 @@ int main() { // BLOCKS-NOT: [[G]]{{[[^:word:]]}} // BLOCKS: store volatile double 2.0{{.+}}, double* // BLOCKS-NOT: [[G]]{{[[^:word:]]}} - // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}} + // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}* // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: ret diff --git a/clang/test/OpenMP/taskloop_lastprivate_codegen.cpp b/clang/test/OpenMP/taskloop_lastprivate_codegen.cpp index fbc6cca841d3..80d94ffcf3b3 100644 --- a/clang/test/OpenMP/taskloop_lastprivate_codegen.cpp +++ b/clang/test/OpenMP/taskloop_lastprivate_codegen.cpp @@ -103,6 +103,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ @@ -117,7 +118,7 @@ int main() { // BLOCKS-NOT: [[G]]{{[[^:word:]]}} // BLOCKS: store double 2.0{{.+}}, double* // BLOCKS-NOT: [[G]]{{[[^:word:]]}} - // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}} + // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}* // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: ret diff --git a/clang/test/OpenMP/taskloop_private_codegen.cpp b/clang/test/OpenMP/taskloop_private_codegen.cpp index 5f2df419a646..2815bd71afaf 100644 --- a/clang/test/OpenMP/taskloop_private_codegen.cpp +++ b/clang/test/OpenMP/taskloop_private_codegen.cpp @@ -93,6 +93,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ diff --git a/clang/test/OpenMP/taskloop_simd_firstprivate_codegen.cpp b/clang/test/OpenMP/taskloop_simd_firstprivate_codegen.cpp index db3d787bc38a..27c02df50d3c 100644 --- a/clang/test/OpenMP/taskloop_simd_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/taskloop_simd_firstprivate_codegen.cpp @@ -102,6 +102,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ @@ -123,7 +124,7 @@ int main() { // BLOCKS-NOT: [[G]]{{[[^:word:]]}} // BLOCKS: store volatile double 2.0{{.+}}, double* // BLOCKS-NOT: [[G]]{{[[^:word:]]}} - // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}} + // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}* // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: ret diff --git a/clang/test/OpenMP/taskloop_simd_lastprivate_codegen.cpp b/clang/test/OpenMP/taskloop_simd_lastprivate_codegen.cpp index b47f7bff2fa4..0718fb261c9e 100644 --- a/clang/test/OpenMP/taskloop_simd_lastprivate_codegen.cpp +++ b/clang/test/OpenMP/taskloop_simd_lastprivate_codegen.cpp @@ -101,6 +101,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ @@ -115,7 +116,7 @@ int main() { // BLOCKS-NOT: [[G]]{{[[^:word:]]}} // BLOCKS: store double 2.0{{.+}}, double* // BLOCKS-NOT: [[G]]{{[[^:word:]]}} - // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}} + // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}* // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}} // BLOCKS: ret diff --git a/clang/test/OpenMP/taskloop_simd_private_codegen.cpp b/clang/test/OpenMP/taskloop_simd_private_codegen.cpp index 388ac00a9deb..223a7c4cca21 100644 --- a/clang/test/OpenMP/taskloop_simd_private_codegen.cpp +++ b/clang/test/OpenMP/taskloop_simd_private_codegen.cpp @@ -93,6 +93,7 @@ int main() { return 0; #elif defined(BLOCKS) // BLOCKS: [[G:@.+]] ={{.*}} global double + // BLOCKS: [[SIVAR:@.+]] = internal global i{{[0-9]+}} 0, // BLOCKS-LABEL: @main // BLOCKS: call void {{%.+}}(i8 ^{ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits