llvm.org GIT mirror llvm / 9ad892c test / CodeGen / PowerPC / long-compare.ll
9ad892c

Tree @9ad892c (Download .tar.gz)

long-compare.ll @9ad892craw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | llc -march=ppc32 | grep cntlzw 
; RUN: llvm-as < %s | llc -march=ppc32 | not grep xori 
; RUN: llvm-as < %s | llc -march=ppc32 | not grep {li }
; RUN: llvm-as < %s | llc -march=ppc32 | not grep {mr }

define i1 @test(i64 %x) {
  %tmp = icmp ult i64 %x, 4294967296
  ret i1 %tmp
}