[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/compare_folding.llx
Chris Lattner
lattner at cs.uiuc.edu
Tue Jun 15 16:53:01 PDT 2004
Changes in directory llvm/test/Regression/CodeGen/X86:
compare_folding.llx updated: 1.1 -> 1.2
---
Log message:
This testcase is a bit silly now, but oh well :)
---
Diffs of the changes: (+2 -4)
Index: llvm/test/Regression/CodeGen/X86/compare_folding.llx
diff -u llvm/test/Regression/CodeGen/X86/compare_folding.llx:1.1 llvm/test/Regression/CodeGen/X86/compare_folding.llx:1.2
--- llvm/test/Regression/CodeGen/X86/compare_folding.llx:1.1 Fri Jun 11 00:30:34 2004
+++ llvm/test/Regression/CodeGen/X86/compare_folding.llx Tue Jun 15 16:46:16 2004
@@ -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
}
More information about the llvm-commits
mailing list