]> granicus.if.org Git - clang/commitdiff
[OPENMP] Rework tests to pacify buildbots.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 17 Jul 2017 14:06:41 +0000 (14:06 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 17 Jul 2017 14:06:41 +0000 (14:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308176 91177308-0d34-0410-b5e6-96231b3b80d8

test/OpenMP/taskloop_reduction_codegen.cpp
test/OpenMP/taskloop_simd_reduction_codegen.cpp

index 72e9c2b37727de2e4adfd046a8e3af92f3e0a405..c0016ea27c123fd3eb4856d2795943e75f20169a 100644 (file)
@@ -80,9 +80,7 @@ sum = 0.0;
 // CHECK:    [[DOTRD_INPUT_GEP_4:%.*]] = getelementptr inbounds [4 x %struct.kmp_task_red_input_t], [4 x %struct.kmp_task_red_input_t]* [[DOTRD_INPUT_]], i64 0, i64 1
 // CHECK:    [[TMP28:%.*]] = getelementptr inbounds [[STRUCT_KMP_TASK_RED_INPUT_T]], %struct.kmp_task_red_input_t* [[DOTRD_INPUT_GEP_4]], i32 0, i32 0
 // CHECK:    [[ARRAYIDX5:%.*]] = getelementptr inbounds [100 x %struct.S], [100 x %struct.S]* [[C]], i64 0, i64 0
-// CHECK:    [[TMP29:%.*]] = load i32, i32* [[N]], align 4
-// CHECK:    [[TMP30:%.*]] = sext i32 [[TMP29]] to i64
-// CHECK:    [[LB_ADD_LEN:%.*]] = add nsw i64 -1, [[TMP30]]
+// CHECK:    [[LB_ADD_LEN:%.*]] = add nsw i64 -1, %
 // CHECK:    [[ARRAYIDX6:%.*]] = getelementptr inbounds [100 x %struct.S], [100 x %struct.S]* [[C]], i64 0, i64 [[LB_ADD_LEN]]
 // CHECK:    [[TMP31:%.*]] = bitcast %struct.S* [[ARRAYIDX5]] to i8*
 // CHECK:    store i8* [[TMP31]], i8** [[TMP28]], align 8
index 27556abef33e9f0bd32fd08a1355a9cde076b894..619b09082d0cf7fdebd2d20abe5eae891136cbe2 100644 (file)
@@ -80,9 +80,7 @@ sum = 0.0;
 // CHECK:    [[DOTRD_INPUT_GEP_4:%.*]] = getelementptr inbounds [4 x %struct.kmp_task_red_input_t], [4 x %struct.kmp_task_red_input_t]* [[DOTRD_INPUT_]], i64 0, i64 1
 // CHECK:    [[TMP28:%.*]] = getelementptr inbounds [[STRUCT_KMP_TASK_RED_INPUT_T]], %struct.kmp_task_red_input_t* [[DOTRD_INPUT_GEP_4]], i32 0, i32 0
 // CHECK:    [[ARRAYIDX5:%.*]] = getelementptr inbounds [100 x %struct.S], [100 x %struct.S]* [[C]], i64 0, i64 0
-// CHECK:    [[TMP29:%.*]] = load i32, i32* [[N]], align 4
-// CHECK:    [[TMP30:%.*]] = sext i32 [[TMP29]] to i64
-// CHECK:    [[LB_ADD_LEN:%.*]] = add nsw i64 -1, [[TMP30]]
+// CHECK:    [[LB_ADD_LEN:%.*]] = add nsw i64 -1, %
 // CHECK:    [[ARRAYIDX6:%.*]] = getelementptr inbounds [100 x %struct.S], [100 x %struct.S]* [[C]], i64 0, i64 [[LB_ADD_LEN]]
 // CHECK:    [[TMP31:%.*]] = bitcast %struct.S* [[ARRAYIDX5]] to i8*
 // CHECK:    store i8* [[TMP31]], i8** [[TMP28]], align 8