Used "-enable-unsafe-fp-math" to allow this transformation - (a * b -c) = c - a *b.
authorMon P Wang <wangmp@apple.com>
Sat, 31 Jan 2009 06:50:54 +0000 (06:50 +0000)
committerMon P Wang <wangmp@apple.com>
Sat, 31 Jan 2009 06:50:54 +0000 (06:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63475 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/CellSPU/sp_farith.ll

index 949e69a5a3d410e5c3f5cb817ea88e3f82db6882..df3baef85c9d181f9b3195c70efdedea28391af3 100644 (file)
@@ -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