From b8d3fd0390bd5ec4bc13fa2b5d9bcec7bf634288 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 8 Oct 2003 18:26:10 +0000 Subject: [PATCH] Checkin an old bug, which appears to be fixed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8966 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../Inline/2003-09-22-PHINodeInlineFail.ll | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll 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 00000000000..d1db941f096 --- /dev/null +++ b/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll @@ -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 +} + -- 2.34.1