diff options
author | Shih-wei Liao <sliao@google.com> | 2010-02-10 11:10:31 -0800 |
---|---|---|
committer | Shih-wei Liao <sliao@google.com> | 2010-02-10 11:10:31 -0800 |
commit | e264f62ca09a8f65c87a46d562a4d0f9ec5d457e (patch) | |
tree | 59e3d57ef656cef79afa708ae0a3daf25cd91fcf /test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll | |
download | external_llvm-e264f62ca09a8f65c87a46d562a4d0f9ec5d457e.zip external_llvm-e264f62ca09a8f65c87a46d562a4d0f9ec5d457e.tar.gz external_llvm-e264f62ca09a8f65c87a46d562a4d0f9ec5d457e.tar.bz2 |
Check in LLVM r95781.
Diffstat (limited to 'test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll')
-rw-r--r-- | test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll | 16 |
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 +} + |