Changes in directory llvm/test/Regression/CodeGen/PowerPC:
mul-neg-power-2.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+9 -0) mul-neg-power-2.ll | 9 +++++++++ 1 files changed, 9 insertions(+) Index: llvm/test/Regression/CodeGen/PowerPC/mul-neg-power-2.ll diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/mul-neg-power-2.ll:1.1 *** /dev/null Sun Oct 30 01:37:44 2005 --- llvm/test/Regression/CodeGen/PowerPC/mul-neg-power-2.ll Sun Oct 30 01:37:34 2005 *************** *** 0 **** --- 1,9 ---- + ; RUN: llvm-as < %s | llc -march=ppc32 && + ; RUN: llvm-as < %s | llc -march=ppc32 | not grep mul + + int %test1(int %a) { + %tmp.1 = mul int %a, -2 ; <int> [#uses=1] + %tmp.2 = add int %tmp.1, 63 ; <int> [#uses=1] + ret int %tmp.2 + } + _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits