llvm.org GIT mirror llvm / release_28 test / CodeGen / PowerPC / inverted-bool-compares.ll
release_28

Tree @release_28 (Download .tar.gz)

inverted-bool-compares.ll @release_28raw · history · blame

; RUN: llc < %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
}