xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/long-compare.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc32 | grep cntlzw
2*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc32 | not grep xori
3*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc32 | not grep "li "
4*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc32 | not grep "mr "
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Workerdefine i1 @test(i64 %x) {
7*9880d681SAndroid Build Coastguard Worker  %tmp = icmp ult i64 %x, 4294967296
8*9880d681SAndroid Build Coastguard Worker  ret i1 %tmp
9*9880d681SAndroid Build Coastguard Worker}
10