summaryrefslogtreecommitdiff
path: root/test/Transforms/FunctionAttrs
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/FunctionAttrs
parent340d78f4e7b95c235d0ecf315b755bebefd0a168 (diff)
downloadllvm-aeaa9a8b2570ef23e06f2170f08caafda9fcf311.tar.gz
llvm-aeaa9a8b2570ef23e06f2170f08caafda9fcf311.tar.bz2
llvm-aeaa9a8b2570ef23e06f2170f08caafda9fcf311.tar.xz
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/FunctionAttrs')
-rw-r--r--test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll b/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll
index 53857f61ce..e2bab19e7e 100644
--- a/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll
+++ b/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll
@@ -46,9 +46,13 @@ define i1 @c6(i8* %q, i8 %bit) {
ret0:
ret i1 0
ret1:
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
ret i1 1
}
+declare i32 @__gxx_personality_v0(...)
+
define i1* @lookup_bit(i32* %q, i32 %bitno) readnone nounwind {
%tmp = ptrtoint i32* %q to i32
%tmp2 = lshr i32 %tmp, %bitno