diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-08-31 20:55:40 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-08-31 20:55:40 +0000 |
commit | b072dd9ba434d97aac2f3b40fc81202f36c0a075 (patch) | |
tree | 10f483f79f3c0a62c65acac4350dc954ec40cac4 /test/Transforms/SCCP/2004-11-16-DeadInvoke.ll | |
parent | 4f8aaa0928caf36d7982534748c8390c5186d534 (diff) | |
download | external_llvm-b072dd9ba434d97aac2f3b40fc81202f36c0a075.zip external_llvm-b072dd9ba434d97aac2f3b40fc81202f36c0a075.tar.gz external_llvm-b072dd9ba434d97aac2f3b40fc81202f36c0a075.tar.bz2 |
Update the tests to the new EH scheme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138891 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SCCP/2004-11-16-DeadInvoke.ll')
-rw-r--r-- | test/Transforms/SCCP/2004-11-16-DeadInvoke.ll | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll b/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll index 5d2c78e..e7eb101 100644 --- a/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll +++ b/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll @@ -6,8 +6,13 @@ define void @caller() { br i1 true, label %T, label %F F: ; preds = %0 %X = invoke i32 @foo( ) - to label %T unwind label %T ; <i32> [#uses=0] -T: ; preds = %F, %F, %0 + to label %T unwind label %LP ; <i32> [#uses=0] +LP: + %val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) + catch i8* null + br label %T +T: ret void } +declare i32 @__gxx_personality_v0(...) |