From: Ulrich Weigand Date: Mon, 13 Oct 2014 13:49:39 +0000 (+0000) Subject: More OpenMP test case compatibility fixes X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1ec237321e824033091dc85152ec432b5db07d9;p=clang More OpenMP test case compatibility fixes Allow "signext" in a couple of more places in recently added test cases to fix failures on SystemZ. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219615 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/OpenMP/parallel_if_codegen.cpp b/test/OpenMP/parallel_if_codegen.cpp index 65ef35d336..44c874f1fb 100644 --- a/test/OpenMP/parallel_if_codegen.cpp +++ b/test/OpenMP/parallel_if_codegen.cpp @@ -74,7 +74,7 @@ int main() { // CHECK: [[OMP_END]] #pragma omp parallel if (Arg) fn6(); - // CHECK: = call i{{.+}} @{{.+}}tmain + // CHECK: = call {{.*}}i{{.+}} @{{.+}}tmain return tmain(Arg); } diff --git a/test/OpenMP/parallel_num_threads_codegen.cpp b/test/OpenMP/parallel_num_threads_codegen.cpp index ebf4f797ce..4ccf789f70 100644 --- a/test/OpenMP/parallel_num_threads_codegen.cpp +++ b/test/OpenMP/parallel_num_threads_codegen.cpp @@ -53,8 +53,8 @@ int main() { // CHECK: [[RES:%.+]] = sext i8 [[A_VAL]] to i32 // CHECK: call void @__kmpc_push_num_threads([[IDENT_T_TY]]* [[DEF_LOC_2]], i32 [[GTID]], i32 [[RES]]) // CHECK: call void {{.*}}* @__kmpc_fork_call( -// CHECK: invoke [[INT_TY:i[0-9]+]] [[TMAIN_CHAR_5:@.+]]() -// CHECK: invoke [[INT_TY]] [[TMAIN_S_1:@.+]]() +// CHECK: invoke{{.*}} [[INT_TY:i[0-9]+]] [[TMAIN_CHAR_5:@.+]]() +// CHECK: invoke{{.*}} [[INT_TY]] [[TMAIN_S_1:@.+]]() // CHECK: call {{.*}} [[S_TY_DESTR:@.+]]([[S_TY]]* [[S_ADDR]]) // CHECK: ret [[INT_TY]] // CHECK: }