Changes in directory llvm/lib/CodeGen/SelectionDAG:
DAGCombiner.cpp updated: 1.78 -> 1.79 --- Log message: Revert the previous check-in. Leave shl x, 1 along for target to deal with. --- Diffs of the changes: (+0 -3) DAGCombiner.cpp | 3 --- 1 files changed, 3 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp diff -u llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.78 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.79 --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.78 Thu Jan 5 19:06:31 2006 +++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Thu Jan 5 19:56:02 2006 @@ -1282,9 +1282,6 @@ // fold (shl x, 0) -> x if (N1C && N1C->isNullValue()) return N0; - // fold (shl x, 1) -> (add x, x) - if (N1C && N1C->getValue() == 1) - return DAG.getNode(ISD::ADD, VT, N0, N0); // if (shl x, c) is known to be zero, return 0 if (N1C && MaskedValueIsZero(SDOperand(N, 0), ~0ULL >> (64-OpSizeInBits),TLI)) return DAG.getConstant(0, VT); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits