diff options
author | Mon P Wang <wangmp@apple.com> | 2009-01-31 06:50:54 +0000 |
---|---|---|
committer | Mon P Wang <wangmp@apple.com> | 2009-01-31 06:50:54 +0000 |
commit | b6080cf943c43e10176c47f9cb50ee20f69cca3a (patch) | |
tree | cba121c00da0fcd7bfc77e5d5f45ccb3417a250c | |
parent | cf9ba823240ec6d3682ba2ddeab5cdcf04092c77 (diff) | |
download | bcm5719-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.ll | 2 |
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 |