mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
Modernize the testcase, allow it to pass on ppc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31177 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5f90cbc56a
commit
4fa2ba6306
@ -1,8 +1,8 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86 | grep movsd | wc -l | grep 1 &&
|
||||
; RUN: llvm-as < %s | llc -march=x86 | grep ucomisd
|
||||
declare bool %llvm.isunordered(double,double)
|
||||
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep movsd | wc -l | grep 1 &&
|
||||
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep ucomisd
|
||||
declare bool %llvm.isunordered.f64(double,double)
|
||||
|
||||
bool %test1(double %X, double %Y) { ;; Returns isunordered(X,Y)
|
||||
%COM = call bool %llvm.isunordered(double %X, double %Y)
|
||||
%COM = call bool %llvm.isunordered.f64(double %X, double %Y)
|
||||
ret bool %COM
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user