summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/long-compare.ll
blob: 7a06b3ed605377fdf9be38487ce42ffc6144d51b (plain)
1
2
3
4
5
6
7
8
9
; 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
}