[cfe-commits] r124715 - /cfe/trunk/test/CodeGenObjC/exceptions.m

Dan Gohman gohman at apple.com
Tue Feb 1 18:21:10 PST 2011


Author: djg
Date: Tue Feb  1 20:21:10 2011
New Revision: 124715

URL: http://llvm.org/viewvc/llvm-project?rev=124715&view=rev
Log:
Update this test following recent optimizer changes.

Modified:
    cfe/trunk/test/CodeGenObjC/exceptions.m

Modified: cfe/trunk/test/CodeGenObjC/exceptions.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/exceptions.m?rev=124715&r1=124714&r2=124715&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/exceptions.m (original)
+++ cfe/trunk/test/CodeGenObjC/exceptions.m Tue Feb  1 20:21:10 2011
@@ -56,7 +56,7 @@
     // 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 @@
     // 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]]





More information about the cfe-commits mailing list