llvm.org GIT mirror llvm / cc78156
new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33023 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 9 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=ppc32 | grep fmul | wc -l | grep 2 &&
1 ; RUN: llvm-as < %s | llc -march=ppc32 -enable-unsafe-fp-math | grep fmul | wc -l | grep 1
2
3 define double %foo(double %X) {
4 %tmp1 = mul double %X, 1.23
5 %tmp2 = mul double %tmp1, 4.124
6 ret double %tmp2
7 }
8