llvm/test/CodeGen/PowerPC/inverted-bool-compares.ll
2006-12-02 04:23:10 +00:00

12 lines
246 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep xori &&
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
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
}