xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/inverted-bool-compares.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc32 | not grep xori
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerdefine i32 @test(i1 %B, i32* %P) {
4*9880d681SAndroid Build Coastguard Worker        br i1 %B, label %T, label %F
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard WorkerT:              ; preds = %0
7*9880d681SAndroid Build Coastguard Worker        store i32 123, i32* %P
8*9880d681SAndroid Build Coastguard Worker        ret i32 0
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard WorkerF:              ; preds = %0
11*9880d681SAndroid Build Coastguard Worker        ret i32 17
12*9880d681SAndroid Build Coastguard Worker}
13*9880d681SAndroid Build Coastguard Worker
14