Add ppc-specific test for better i64 compare codegen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34082 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-02-09 04:49:46 +00:00
parent 8c541bcc56
commit 511e1d1456

View File

@ -0,0 +1,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
}