Changes in directory llvm/test/Regression/CodeGen/PowerPC:
unsafe-math.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+9 -0) unsafe-math.ll | 9 +++++++++ 1 files changed, 9 insertions(+) Index: llvm/test/Regression/CodeGen/PowerPC/unsafe-math.ll diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/unsafe-math.ll:1.1 *** /dev/null Mon Jan 8 17:03:29 2007 --- llvm/test/Regression/CodeGen/PowerPC/unsafe-math.ll Mon Jan 8 17:03:19 2007 *************** *** 0 **** --- 1,9 ---- + ; RUN: llvm-as < %s | llc -march=ppc32 | grep fmul | wc -l | grep 2 && + ; RUN: llvm-as < %s | llc -march=ppc32 -enable-unsafe-fp-math | grep fmul | wc -l | grep 1 + + define double %foo(double %X) { + %tmp1 = mul double %X, 1.23 + %tmp2 = mul double %tmp1, 4.124 + ret double %tmp2 + } + _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits