[llvm-commits] [llvm] r63475 - /llvm/trunk/test/CodeGen/CellSPU/sp_farith.ll

Mon P Wang wangmp at apple.com
Fri Jan 30 22:50:54 PST 2009


Author: wangmp
Date: Sat Jan 31 00:50:54 2009
New Revision: 63475

URL: http://llvm.org/viewvc/llvm-project?rev=63475&view=rev
Log:
Used "-enable-unsafe-fp-math" to allow this transformation - (a * b -c) = c - a *b.

Modified:
    llvm/trunk/test/CodeGen/CellSPU/sp_farith.ll

Modified: llvm/trunk/test/CodeGen/CellSPU/sp_farith.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/CellSPU/sp_farith.ll?rev=63475&r1=63474&r2=63475&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/CellSPU/sp_farith.ll (original)
+++ llvm/trunk/test/CodeGen/CellSPU/sp_farith.ll Sat Jan 31 00:50:54 2009
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llvm-as -o - %s | llc -march=cellspu -enable-unsafe-fp-math > %t1.s
 ; RUN: grep fa %t1.s | count 2
 ; RUN: grep fs %t1.s | count 2
 ; RUN: grep fm %t1.s | count 6





More information about the llvm-commits mailing list