llvm.org GIT mirror llvm / 511e1d1
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 Chris Lattner 13 years ago
1 changed file(s) with 9 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=ppc32 | grep cntlzw &&
1 ; RUN: llvm-as < %s | llc -march=ppc32 | not grep xori &&
2 ; RUN: llvm-as < %s | llc -march=ppc32 | not grep 'li ' &&
3 ; RUN: llvm-as < %s | llc -march=ppc32 | not grep 'mr '
4
5 define i1 @test(i64 %x) {
6 %tmp = icmp ult i64 %x, 4294967296
7 ret i1 %tmp
8 }