summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/inverted-bool-compares.ll
blob: 4b964b7c8114c267c499b85cd1a452433b033920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep xori

define i32 @test(i1 %B, i32* %P) {
        br i1 %B, label %T, label %F

T:              ; preds = %0
        store i32 123, i32* %P
        ret i32 0

F:              ; preds = %0
        ret i32 17
}

OpenPOWER on IntegriCloud