[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp
Evan Cheng
evan.cheng at apple.com
Tue May 30 17:50:54 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86ISelLowering.cpp updated: 1.223 -> 1.224
---
Log message:
Remove dead code.
---
Diffs of the changes: (+0 -3)
X86ISelLowering.cpp | 3 ---
1 files changed, 3 deletions(-)
Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.223 llvm/lib/Target/X86/X86ISelLowering.cpp:1.224
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.223 Fri May 26 18:10:12 2006
+++ llvm/lib/Target/X86/X86ISelLowering.cpp Tue May 30 19:50:42 2006
@@ -2758,11 +2758,8 @@
unsigned Idx = cast<ConstantSDNode>(Op.getOperand(1))->getValue();
if (Idx == 0)
return Op;
-
// SHUFPS the element to the lowest double word, then movss.
MVT::ValueType MaskVT = MVT::getIntVectorWithNumElements(4);
- SDOperand IdxNode = DAG.getConstant((Idx < 2) ? Idx : Idx+4,
- MVT::getVectorBaseType(MaskVT));
std::vector<SDOperand> IdxVec;
IdxVec.push_back(DAG.getConstant(Idx, MVT::getVectorBaseType(MaskVT)));
IdxVec.push_back(DAG.getNode(ISD::UNDEF, MVT::getVectorBaseType(MaskVT)));
More information about the llvm-commits
mailing list