r297099 - Relax stmtexpr.cpp checks for PPC64

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 6 15:49:19 PST 2017


Author: rnk
Date: Mon Mar  6 17:49:18 2017
New Revision: 297099

URL: http://llvm.org/viewvc/llvm-project?rev=297099&view=rev
Log:
Relax stmtexpr.cpp checks for PPC64

Modified:
    cfe/trunk/test/CodeGenCXX/stmtexpr.cpp

Modified: cfe/trunk/test/CodeGenCXX/stmtexpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/stmtexpr.cpp?rev=297099&r1=297098&r2=297099&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/stmtexpr.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/stmtexpr.cpp Mon Mar  6 17:49:18 2017
@@ -97,10 +97,10 @@ extern "C" int cleanup_exit_scalar(bool
   return v;
 }
 
-// CHECK-LABEL: define i32 @cleanup_exit_scalar({{.*}})
+// CHECK-LABEL: define{{.*}} i32 @cleanup_exit_scalar({{.*}})
 // CHECK: call {{.*}} @_ZN1AC1Ei
 //    Spill after bar.
-// CHECK: %[[v:[^ ]*]] = call i32 @_Z3bar1Ai({{.*}})
+// CHECK: %[[v:[^ ]*]] = call{{.*}} i32 @_Z3bar1Ai({{.*}})
 // CHECK-NEXT: store i32 %[[v]], i32* %[[tmp:[^, ]*]]
 //    Do cleanup.
 // CHECK: call {{.*}} @_ZN1AD1Ev
@@ -116,7 +116,7 @@ extern "C" int cleanup_exit_scalar_const
   return v;
 }
 
-// CHECK-LABEL: define i32 @cleanup_exit_scalar_constant({{.*}})
+// CHECK-LABEL: define{{.*}} i32 @cleanup_exit_scalar_constant({{.*}})
 // CHECK: store i32 13, i32* %v
 
 // Check for the same bug for lvalue expression evaluation kind.
@@ -127,7 +127,7 @@ extern "C" int cleanup_exit_lvalue(bool
   int &r = (A(1), ({ if (cond) return 0; (void)0; }), getref());
   return r;
 }
-// CHECK-LABEL: define i32 @cleanup_exit_lvalue({{.*}})
+// CHECK-LABEL: define{{.*}} i32 @cleanup_exit_lvalue({{.*}})
 // CHECK: call {{.*}} @_ZN1AC1Ei
 //    Spill after bar.
 // CHECK: %[[v:[^ ]*]] = call dereferenceable(4) i32* @_Z6getrefv({{.*}})
@@ -148,7 +148,7 @@ extern "C" int cleanup_exit_complex(bool
   return v;
 }
 
-// CHECK-LABEL: define i32 @cleanup_exit_complex({{.*}})
+// CHECK-LABEL: define{{.*}} i32 @cleanup_exit_complex({{.*}})
 // CHECK: call {{.*}} @_ZN1AC1Ei
 //    Spill after bar.
 // CHECK: call {{.*}} @_Z11bar_complex1Ai({{.*}})




More information about the cfe-commits mailing list