From: Dan Gohman Date: Wed, 2 Feb 2011 02:21:10 +0000 (+0000) Subject: Update this test following recent optimizer changes. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=148f32a5379c15c0b7301be4eaeb88b3e54e50af;p=clang Update this test following recent optimizer changes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124715 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenObjC/exceptions.m b/test/CodeGenObjC/exceptions.m index 31805cb8df..b9d0093ea5 100644 --- a/test/CodeGenObjC/exceptions.m +++ b/test/CodeGenObjC/exceptions.m @@ -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]]