aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/compare_folding.llx
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/compare_folding.llx')
-rw-r--r--test/CodeGen/X86/compare_folding.llx6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/CodeGen/X86/compare_folding.llx b/test/CodeGen/X86/compare_folding.llx
index 3d8e6c7..2d003f0 100644
--- a/test/CodeGen/X86/compare_folding.llx
+++ b/test/CodeGen/X86/compare_folding.llx
@@ -1,11 +1,9 @@
; RUN: llvm-as < %s | llc -march=x86 | grep com | wc -l > %t2
; RUN: grep 'COM =' %s | grep -v grep | wc -l > %t1
; RUN: diff %t1 %t2
-declare bool %llvm.isnan(double)
+declare bool %llvm.isunordered(double,double)
bool %test1(double %X, double %Y) { ;; Returns isunordered(X,Y)
- %a = call bool %llvm.isnan(double %X)
- %b = call bool %llvm.isnan(double %Y)
- %COM = or bool %a, %b
+ %COM = call bool %llvm.isunordered(double %X, double %Y)
ret bool %COM
}