Changes in directory llvm/lib/CodeGen/SelectionDAG:
TargetLowering.cpp updated: 1.118 -> 1.119 --- Log message: Fix CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll, and PR1473: http://llvm.org/PR1473 . --- Diffs of the changes: (+1 -1) TargetLowering.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp diff -u llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:1.118 llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:1.119 --- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:1.118 Fri May 18 19:46:51 2007 +++ llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp Wed May 30 11:30:06 2007 @@ -587,7 +587,7 @@ } SDOperand NewSA = - TLO.DAG.getConstant(ShAmt-C1, Op.getOperand(1).getValueType()); + TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType()); MVT::ValueType VT = Op.getValueType(); return TLO.CombineTo(Op, TLO.DAG.getNode(Opc, VT, InOp.getOperand(0), NewSA)); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits