r219615 - More OpenMP test case compatibility fixes

Ulrich Weigand ulrich.weigand at de.ibm.com
Mon Oct 13 06:49:40 PDT 2014


Author: uweigand
Date: Mon Oct 13 08:49:39 2014
New Revision: 219615

URL: http://llvm.org/viewvc/llvm-project?rev=219615&view=rev
Log:
More OpenMP test case compatibility fixes

Allow "signext" in a couple of more places in recently
added test cases to fix failures on SystemZ.


Modified:
    cfe/trunk/test/OpenMP/parallel_if_codegen.cpp
    cfe/trunk/test/OpenMP/parallel_num_threads_codegen.cpp

Modified: cfe/trunk/test/OpenMP/parallel_if_codegen.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/parallel_if_codegen.cpp?rev=219615&r1=219614&r2=219615&view=diff
==============================================================================
--- cfe/trunk/test/OpenMP/parallel_if_codegen.cpp (original)
+++ cfe/trunk/test/OpenMP/parallel_if_codegen.cpp Mon Oct 13 08:49:39 2014
@@ -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);
 }
 

Modified: cfe/trunk/test/OpenMP/parallel_num_threads_codegen.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/parallel_num_threads_codegen.cpp?rev=219615&r1=219614&r2=219615&view=diff
==============================================================================
--- cfe/trunk/test/OpenMP/parallel_num_threads_codegen.cpp (original)
+++ cfe/trunk/test/OpenMP/parallel_num_threads_codegen.cpp Mon Oct 13 08:49:39 2014
@@ -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:       }





More information about the cfe-commits mailing list