llvm-project/llvm/test/CodeGen/PowerPC/inverted-bool-compares.ll

11 lines
189 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep xori
int %test(bool %B, int* %P) {
br bool %B, label %T, label %F
T:
store int 123, int* %P
ret int 0
F:
ret int 17
}