summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-09-02 22:41:11 +0000
committerBill Wendling <isanbard@gmail.com>2011-09-02 22:41:11 +0000
commit4aa257374886bf2119c9ac826d8a82f55ef1e1ba (patch)
tree05dc617105ef2475daf3ba07403ab33503e3db0f /llvm/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll
parentf3dd6da7a8cf55be5ce493a1f4388650035c626c (diff)
downloadbcm5719-llvm-4aa257374886bf2119c9ac826d8a82f55ef1e1ba.tar.gz
bcm5719-llvm-4aa257374886bf2119c9ac826d8a82f55ef1e1ba.zip
Try to eliminate the use of the 'unwind' instruction.
llvm-svn: 139046
Diffstat (limited to 'llvm/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll')
-rw-r--r--llvm/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll b/llvm/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll
index ced89cf4c2b..7bffa1a8e0e 100644
--- a/llvm/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll
+++ b/llvm/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll
@@ -14,5 +14,9 @@ r: ; preds = %entry
ret void
u: ; preds = %entry
- unwind
+ %val = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ cleanup
+ resume { i8*, i32 } %val
}
+
+declare i32 @__gxx_personality_v0(...)
OpenPOWER on IntegriCloud