summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll
blob: d57aee01c609dabd0c3daed2118597ff3bcda290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; RUN: llvm-as < %s | opt -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
}

OpenPOWER on IntegriCloud