summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/2006-01-18-InvalidBranchOpcodeAssert.ll
blob: b1e08c759c08822ae9d1e6bdad244dbf1e868a2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llvm-as < %s | llc
; This crashed the PPC backend.

define void @test() {
        %tmp125 = fcmp uno double 0.000000e+00, 0.000000e+00            ; <i1> [#uses=1]
        br i1 %tmp125, label %bb154, label %cond_false133

cond_false133:          ; preds = %0
        ret void

bb154:          ; preds = %0
        %tmp164 = icmp eq i32 0, 0              ; <i1> [#uses=0]
        ret void
}

OpenPOWER on IntegriCloud