summaryrefslogtreecommitdiffstats
path: root/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll')
-rw-r--r--test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll b/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll
new file mode 100644
index 0000000..5ced3b8
--- /dev/null
+++ b/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll
@@ -0,0 +1,16 @@
+; RUN: opt < %s -inline -disable-output
+
+define i32 @main() {
+entry:
+ invoke void @__main( )
+ to label %LongJmpBlkPre unwind label %LongJmpBlkPre
+
+LongJmpBlkPre: ; preds = %entry, %entry
+ %i.3 = phi i32 [ 0, %entry ], [ 0, %entry ] ; <i32> [#uses=0]
+ ret i32 0
+}
+
+define void @__main() {
+ ret void
+}
+