]> granicus.if.org Git - clang/commitdiff
Update this test following recent optimizer changes.
authorDan Gohman <gohman@apple.com>
Wed, 2 Feb 2011 02:21:10 +0000 (02:21 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 2 Feb 2011 02:21:10 +0000 (02:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124715 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenObjC/exceptions.m

index 31805cb8df4e184a8c7dd09891ad9860d19b6d25..b9d0093ea50b935a04b05b90b780646ba0bac226 100644 (file)
@@ -56,7 +56,7 @@ int f2() {
     // If the optimizers ever figure out how to make this store 6,
     // that's okay.
     // CHECK:      [[T1:%.*]] = load i32* [[X]]
-    // CHECK-NEXT: [[T2:%.*]] = add nsw i32 [[T1]], 1
+    // CHECK-NEXT: [[T2:%.*]] = add i32 [[T1]], 1
     // CHECK-NEXT: store i32 [[T2]], i32* [[X]]
     x++;
     // CHECK-NEXT: call void asm sideeffect "", "*m,*m"(i32* [[X]]
@@ -69,7 +69,7 @@ int f2() {
     // CHECK:      call void asm sideeffect "", "=*m,=*m"(i32* [[X]]
     // CHECK-NEXT: call i8* @objc_exception_extract
     // CHECK-NEXT: [[T1:%.*]] = load i32* [[X]]
-    // CHECK-NEXT: [[T2:%.*]] = add nsw i32 [[T1]], -1
+    // CHECK-NEXT: [[T2:%.*]] = add i32 [[T1]], -1
 
     // This store is dead.
     // CHECK-NEXT: store i32 [[T2]], i32* [[X]]