r186398 - Fix test on release builds.

Tim Northover tnorthover at apple.com
Tue Jul 16 03:22:19 PDT 2013


Author: tnorthover
Date: Tue Jul 16 05:22:19 2013
New Revision: 186398

URL: http://llvm.org/viewvc/llvm-project?rev=186398&view=rev
Log:
Fix test on release builds.

Unfortunately I don't think there's a good way to validate branch targets on
release builds. Fortunately it's a minor part of this test (and based on
generic code) so I don't mind dropping it.

Modified:
    cfe/trunk/test/CodeGen/builtins-arm-exclusive.c

Modified: cfe/trunk/test/CodeGen/builtins-arm-exclusive.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-arm-exclusive.c?rev=186398&r1=186397&r2=186398&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/builtins-arm-exclusive.c (original)
+++ cfe/trunk/test/CodeGen/builtins-arm-exclusive.c Tue Jul 16 05:22:19 2013
@@ -17,8 +17,7 @@ int atomic_inc(int *addr) {
 // CHECK:   [[INC:%.*]] = add nsw i32 [[OLDVAL]], 1
 // CHECK:   [[FAILURE:%.*]] = tail call i32 @llvm.arm.strex.p0i32(i32 [[INC]], i32* %addr)
 // CHECK:   [[TST:%.*]] = icmp eq i32 [[FAILURE]], 0
-// CHECK:   br i1 [[TST]], label %[[LOOP_END:[a-zA-Z0-9.]+]], label {{%[a-zA-Z0-9.]+}}
-// CHECK: [[LOOP_END]]:
+// CHECK:   br i1 [[TST]], label {{%[a-zA-Z0-9.]+}}, label {{%[a-zA-Z0-9.]+}}
 
 struct Simple {
   char a, b;





More information about the cfe-commits mailing list