mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-11 13:44:28 +00:00
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:
parent
8c541bcc56
commit
511e1d1456
9
test/CodeGen/PowerPC/long-compare.ll
Normal file
9
test/CodeGen/PowerPC/long-compare.ll
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user