[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/isnan.llx
Chris Lattner
lattner at cs.uiuc.edu
Thu Jun 10 22:00:09 PDT 2004
Changes in directory llvm/test/Regression/CodeGen/X86:
isnan.llx added (r1.1)
---
Log message:
Check to make sure that isnan doesn't require calling a function
---
Diffs of the changes: (+7 -0)
Index: llvm/test/Regression/CodeGen/X86/isnan.llx
diff -c /dev/null llvm/test/Regression/CodeGen/X86/isnan.llx:1.1
*** /dev/null Thu Jun 10 21:55:04 2004
--- llvm/test/Regression/CodeGen/X86/isnan.llx Thu Jun 10 21:54:54 2004
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: llvm-as < %s | llc -march=x86 | not grep call
+ declare bool %llvm.isnan(double)
+
+ bool %test_isnan(double %X) {
+ %R = call bool %llvm.isnan(double %X)
+ ret bool %R
+ }
More information about the llvm-commits
mailing list