summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMon P Wang <wangmp@apple.com>2009-01-31 06:50:54 +0000
committerMon P Wang <wangmp@apple.com>2009-01-31 06:50:54 +0000
commitb6080cf943c43e10176c47f9cb50ee20f69cca3a (patch)
treecba121c00da0fcd7bfc77e5d5f45ccb3417a250c
parentcf9ba823240ec6d3682ba2ddeab5cdcf04092c77 (diff)
downloadbcm5719-llvm-b6080cf943c43e10176c47f9cb50ee20f69cca3a.tar.gz
bcm5719-llvm-b6080cf943c43e10176c47f9cb50ee20f69cca3a.zip
Used "-enable-unsafe-fp-math" to allow this transformation - (a * b -c) = c - a *b.
llvm-svn: 63475
-rw-r--r--llvm/test/CodeGen/CellSPU/sp_farith.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/CellSPU/sp_farith.ll b/llvm/test/CodeGen/CellSPU/sp_farith.ll
index 949e69a5a3d..df3baef85c9 100644
--- a/llvm/test/CodeGen/CellSPU/sp_farith.ll
+++ b/llvm/test/CodeGen/CellSPU/sp_farith.ll
@@ -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
OpenPOWER on IntegriCloud