llvm-for-llvmta/test/CodeGen/PowerPC/inverted-bool-compares.ll

14 lines
275 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -verify-machineinstrs < %s -mtriple=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
}