summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/inverted-bool-compares.ll
blob: c51f2673123684c4757960aff9ac39714605d443 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | llc -march=ppc32 | not grep xori &&
; RUN: llvm-as < %s | 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
}