llvm.org GIT mirror llvm / f972db0
match a reassociated form of fnmul git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36659 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 11 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 | grep fnmuld
1 ; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 -enable-sign-dependent-rounding-fp-math | grep fmul
2
3
4 define double @t1(double %a, double %b) {
5 entry:
6 %tmp2 = sub double -0.000000e+00, %a ; [#uses=1]
7 %tmp4 = mul double %tmp2, %b ; [#uses=1]
8 ret double %tmp4
9 }
10