Changes in directory llvm/lib/CodeGen/SelectionDAG:
DAGCombiner.cpp updated: 1.128 -> 1.129 --- Log message: Don't call SimplifyDemandedBits on vectors --- Diffs of the changes: (+2 -1) DAGCombiner.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp diff -u llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.128 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.129 --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.128 Sat Mar 18 19:27:56 2006 +++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Sat Mar 25 16:19:00 2006 @@ -1120,7 +1120,8 @@ } // fold (and (sign_extend_inreg x, i16 to i32), 1) -> (and x, 1) // fold (and (sra)) -> (and (srl)) when possible. - if (SimplifyDemandedBits(SDOperand(N, 0))) + if (!MVT::isVector(VT) && + SimplifyDemandedBits(SDOperand(N, 0))) return SDOperand(); // fold (zext_inreg (extload x)) -> (zextload x) if (N0.getOpcode() == ISD::EXTLOAD) { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits