[cfe-commits] r124476 - /cfe/trunk/test/CodeGenObjC/exceptions.m
John McCall
rjmccall at apple.com
Thu Jan 27 22:05:16 PST 2011
Author: rjmccall
Date: Fri Jan 28 00:05:16 2011
New Revision: 124476
URL: http://llvm.org/viewvc/llvm-project?rev=124476&view=rev
Log:
Not really any point to testing control flow in this test without
ret duplication.
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=124476&r1=124475&r2=124476&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/exceptions.m (original)
+++ cfe/trunk/test/CodeGenObjC/exceptions.m Fri Jan 28 00:05:16 2011
@@ -29,10 +29,8 @@
// CHECK-NEXT: call void @foo()
foo();
// CHECK-NEXT: call void @objc_exception_try_exit
- // CHECK-NEXT: br label %finally.no_call_exit
// CHECK: call void asm sideeffect "", "=*m"
- // CHECK-NEXT: br label %finally.no_call_exit
} @finally {
break;
}
@@ -65,11 +63,7 @@
// CHECK-NEXT: call void @foo()
// CHECK-NEXT: call void @objc_exception_try_exit
// CHECK-NEXT: [[T:%.*]] = load i32* [[X]]
- // 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]]
@@ -79,10 +73,9 @@
// This store is dead.
// CHECK-NEXT: store i32 [[T2]], i32* [[X]]
-
- // CHECK-NEXT: br label %finally.no_call_exit
x--;
}
+
return x;
}
More information about the cfe-commits
mailing list