llvm.org GIT mirror llvm / f2f4bb2
new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37053 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 12 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=ppc32 | not grep fneg
1
2 define double @test1(double %a, double %b, double %c, double %d) {
3 entry:
4 %tmp2 = sub double -0.000000e+00, %c ; [#uses=1]
5 %tmp4 = mul double %tmp2, %d ; [#uses=1]
6 %tmp7 = mul double %a, %b ; [#uses=1]
7 %tmp9 = sub double %tmp7, %tmp4 ; [#uses=1]
8 ret double %tmp9
9 }
10
11