summaryrefslogtreecommitdiffstats
path: root/test/Transforms/IPConstantProp/return-constant.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-09-01 00:58:03 +0000
committerBill Wendling <isanbard@gmail.com>2011-09-01 00:58:03 +0000
commitaeaa9a8b2570ef23e06f2170f08caafda9fcf311 (patch)
tree80e9590f242985b5628404f320745692c9aabbab /test/Transforms/IPConstantProp/return-constant.ll
parent340d78f4e7b95c235d0ecf315b755bebefd0a168 (diff)
downloadexternal_llvm-aeaa9a8b2570ef23e06f2170f08caafda9fcf311.zip
external_llvm-aeaa9a8b2570ef23e06f2170f08caafda9fcf311.tar.gz
external_llvm-aeaa9a8b2570ef23e06f2170f08caafda9fcf311.tar.bz2
Update some tests to the new EH scheme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/IPConstantProp/return-constant.ll')
-rw-r--r--test/Transforms/IPConstantProp/return-constant.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Transforms/IPConstantProp/return-constant.ll b/test/Transforms/IPConstantProp/return-constant.ll
index b255859..ff15df7 100644
--- a/test/Transforms/IPConstantProp/return-constant.ll
+++ b/test/Transforms/IPConstantProp/return-constant.ll
@@ -22,5 +22,9 @@ OK:
%Y = icmp ne i32 %X, 0 ; <i1> [#uses=1]
ret i1 %Y
FAIL:
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
ret i1 false
}
+
+declare i32 @__gxx_personality_v0(...)