]> granicus.if.org Git - clang/commitdiff
Fix test on release builds.
authorTim Northover <tnorthover@apple.com>
Tue, 16 Jul 2013 10:22:19 +0000 (10:22 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 16 Jul 2013 10:22:19 +0000 (10:22 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186398 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/builtins-arm-exclusive.c

index 7d83700c5eb7044ad9093b654b67ad3ba5af9702..7eccb9e27bb58957e882f776a995f1672a65f3c1 100644 (file)
@@ -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;