diff options
Diffstat (limited to 'test/CodeGen/ARM/fnmul.ll')
-rw-r--r-- | test/CodeGen/ARM/fnmul.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/fnmul.ll b/test/CodeGen/ARM/fnmul.ll new file mode 100644 index 0000000..6d7bc05 --- /dev/null +++ b/test/CodeGen/ARM/fnmul.ll @@ -0,0 +1,11 @@ +; RUN: llc < %s -march=arm -mattr=+v6,+vfp2 | grep vnmul.f64 +; RUN: llc < %s -march=arm -mattr=+v6,+vfp2 -enable-sign-dependent-rounding-fp-math | grep vmul.f64 + + +define double @t1(double %a, double %b) { +entry: + %tmp2 = fsub double -0.000000e+00, %a ; <double> [#uses=1] + %tmp4 = fmul double %tmp2, %b ; <double> [#uses=1] + ret double %tmp4 +} + |