Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.389 -> 1.390 --- Log message: Minor bug. --- Diffs of the changes: (+2 -1) SelectionDAGISel.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.389 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.390 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.389 Sat Mar 17 03:53:30 2007 +++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Tue Mar 20 14:32:11 2007 @@ -4009,7 +4009,8 @@ // Check if it is possible to fold the expression to address mode. if (UseTy && - TLI.isLegalAddressExpression(Instruction::Add, BinOp->getOperand(0), + TLI.isLegalAddressExpression(BinOp->getOpcode(), + BinOp->getOperand(0), BinOp->getOperand(1), UseTy)) { DestBBs.insert(UserBB); MadeChange = true; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits