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 | 95be699a9aaa04abc01b71534d3a4633c228d091 (patch) | |
tree | 9625efb5fb67b4bfd5b9c009fbc0bff98f55c718 /test/CodeGen/CellSPU/sp_farith.ll | |
parent | a7b6cff99f5015120f828c316823cb32eed93901 (diff) | |
download | external_llvm-95be699a9aaa04abc01b71534d3a4633c228d091.zip external_llvm-95be699a9aaa04abc01b71534d3a4633c228d091.tar.gz external_llvm-95be699a9aaa04abc01b71534d3a4633c228d091.tar.bz2 |
Used "-enable-unsafe-fp-math" to allow this transformation - (a * b -c) = c - a *b.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63475 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CellSPU/sp_farith.ll')
-rw-r--r-- | test/CodeGen/CellSPU/sp_farith.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/CellSPU/sp_farith.ll b/test/CodeGen/CellSPU/sp_farith.ll index 949e69a..df3baef 100644 --- a/test/CodeGen/CellSPU/sp_farith.ll +++ b/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 |