Checkin an old bug, which appears to be fixed
authorChris Lattner <sabre@nondot.org>
Wed, 8 Oct 2003 18:26:10 +0000 (18:26 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 8 Oct 2003 18:26:10 +0000 (18:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8966 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll [new file with mode: 0644]

diff --git a/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll b/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll
new file mode 100644 (file)
index 0000000..d1db941
--- /dev/null
@@ -0,0 +1,17 @@
+; RUN: llvm-as < %s | opt -inline -disable-output
+implementation
+
+int %main() {
+entry:
+       invoke void %__main( )
+                       to label %LongJmpBlkPre except label %LongJmpBlkPre
+
+LongJmpBlkPre:
+       %i.3 = phi uint [ 0, %entry ], [ 0, %entry]
+       ret int 0
+}
+
+void %__main() {
+       ret void
+}
+