llvm-for-llvmta/test/CodeGen/PowerPC/long-compare.ll

10 lines
364 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep cntlzw
; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep xori
; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep "li "
; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep "mr "
define i1 @test(i64 %x) {
%tmp = icmp ult i64 %x, 4294967296
ret i1 %tmp
}