[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/fabs.ll
Chris Lattner
lattner at cs.uiuc.edu
Tue May 23 17:49:44 PDT 2006
Changes in directory llvm/test/Regression/CodeGen/X86:
fabs.ll updated: 1.7 -> 1.8
---
Log message:
One of these xforms is only safe with unsafe math enabled.
---
Diffs of the changes: (+2 -1)
fabs.ll | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/test/Regression/CodeGen/X86/fabs.ll
diff -u llvm/test/Regression/CodeGen/X86/fabs.ll:1.7 llvm/test/Regression/CodeGen/X86/fabs.ll:1.8
--- llvm/test/Regression/CodeGen/X86/fabs.ll:1.7 Wed Mar 15 12:05:13 2006
+++ llvm/test/Regression/CodeGen/X86/fabs.ll Tue May 23 19:49:32 2006
@@ -1,5 +1,6 @@
; Make sure this testcase codegens to the fabs instruction, not a call to fabsf
-; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 | grep 'fabs$' | wc -l | grep 2
+; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 | grep 'fabs$' | wc -l | grep 1 &&
+; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 -enable-unsafe-fp-math | grep 'fabs$' | wc -l | grep 2
declare float %fabsf(float)
More information about the llvm-commits
mailing list