[cfe-commits] r124474 - /cfe/trunk/test/CodeGenObjC/exceptions.m
Eric Christopher
echristo at apple.com
Thu Jan 27 21:13:18 PST 2011
Author: echristo
Date: Thu Jan 27 23:13:18 2011
New Revision: 124474
URL: http://llvm.org/viewvc/llvm-project?rev=124474&view=rev
Log:
Update exceptions.m for r124462.
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=124474&r1=124473&r2=124474&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/exceptions.m (original)
+++ cfe/trunk/test/CodeGenObjC/exceptions.m Thu Jan 27 23:13:18 2011
@@ -29,10 +29,10 @@
// CHECK-NEXT: call void @foo()
foo();
// CHECK-NEXT: call void @objc_exception_try_exit
- // CHECK-NEXT: ret void
+ // CHECK-NEXT: br label %finally.no_call_exit
// CHECK: call void asm sideeffect "", "=*m"
- // CHECK-NEXT: ret void
+ // CHECK-NEXT: br label %finally.no_call_exit
} @finally {
break;
}
@@ -65,8 +65,11 @@
// CHECK-NEXT: call void @foo()
// CHECK-NEXT: call void @objc_exception_try_exit
// CHECK-NEXT: [[T:%.*]] = load i32* [[X]]
- // CHECK-NEXT: ret i32 [[T]]
+ // CHECK-NEXT: br label %finally.no_call_exit
foo();
+
+ // CHECK: %tmp4 = phi i32
+ // CHECK-NEXT: ret i32 %tmp4
} @catch (id) {
// Landing pad. Note that we elide the re-enter.
// CHECK: call void asm sideeffect "", "=*m,=*m"(i32* [[X]]
@@ -77,7 +80,7 @@
// This store is dead.
// CHECK-NEXT: store i32 [[T2]], i32* [[X]]
- // CHECK-NEXT: ret i32 [[T2]]
+ // CHECK-NEXT: br label %finally.no_call_exit
x--;
}
return x;
More information about the cfe-commits
mailing list