aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/inverted-bool-compares.ll
blob: fbbf6a59e8f46598b4d56b5c97821b9f3bf30c62 (plain)
1
2
3
4
5
6
7
8
9
10
; 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
}