[llvm-commits] CVS: llvm/test/CodeGen/ARM/fnmul.ll
Chris Lattner
sabre at nondot.org
Wed May 2 17:31:57 PDT 2007
Changes in directory llvm/test/CodeGen/ARM:
fnmul.ll added (r1.1)
---
Log message:
match a reassociated form of fnmul
---
Diffs of the changes: (+11 -0)
fnmul.ll | 11 +++++++++++
1 files changed, 11 insertions(+)
Index: llvm/test/CodeGen/ARM/fnmul.ll
diff -c /dev/null llvm/test/CodeGen/ARM/fnmul.ll:1.1
*** /dev/null Wed May 2 19:31:50 2007
--- llvm/test/CodeGen/ARM/fnmul.ll Wed May 2 19:31:40 2007
***************
*** 0 ****
--- 1,11 ----
+ ; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 | grep fnmuld
+ ; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 -enable-sign-dependent-rounding-fp-math | grep fmul
+
+
+ define double @t1(double %a, double %b) {
+ entry:
+ %tmp2 = sub double -0.000000e+00, %a ; <double> [#uses=1]
+ %tmp4 = mul double %tmp2, %b ; <double> [#uses=1]
+ ret double %tmp4
+ }
+
More information about the llvm-commits
mailing list