summaryrefslogtreecommitdiffstats
path: root/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll')
-rw-r--r--test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll b/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll
index 4418f77..9af9332 100644
--- a/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll
+++ b/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll
@@ -6,10 +6,15 @@ entry:
to label %Call2Invoke unwind label %LongJmpBlkPre
Call2Invoke: ; preds = %entry
- br label %LongJmpBlkPre
+ br label %exit
LongJmpBlkPre: ; preds = %Call2Invoke, %entry
%i.3 = phi i32 [ 0, %entry ], [ 0, %Call2Invoke ] ; <i32> [#uses=0]
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
+ br label %exit
+
+exit:
ret i32 0
}
@@ -19,6 +24,8 @@ define void @__main() {
ret void
}
+declare i32 @__gxx_personality_v0(...)
+
declare void @__llvm_getGlobalCtors()
declare void @__llvm_getGlobalDtors()
OpenPOWER on IntegriCloud