aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-09-19 23:01:11 +0000
committerBill Wendling <isanbard@gmail.com>2011-09-19 23:01:11 +0000
commit39b4166d85dba77a91c1e94babe764147b1ec479 (patch)
tree707e4b8fee5b3f23fada0ba266834775aa4be37a
parentad027053fe39242529a619d70c87dd535b788bbe (diff)
Update test to remove the 'unwind' instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140084 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll b/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll
index fc58577f67..0460c19b7d 100644
--- a/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll
+++ b/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll
@@ -10,6 +10,9 @@ Cont: ; preds = %EB
ret i32 %V
Unw: ; preds = %EB
- unwind
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gcc_personality_v0
+ catch i8* null
+ resume { i8*, i32 } %exn
}
+declare i32 @__gcc_personality_v0(...)