This opt is now handled in DAG combine.

llvm-svn: 29243
This commit is contained in:
Evan Cheng 2006-07-21 08:26:46 +00:00
parent 7c970b98d0
commit 74065bedf2
1 changed files with 0 additions and 2 deletions

View File

@ -2393,8 +2393,6 @@ X86TargetLowering::LowerVECTOR_SHUFFLE(SDOperand Op, SelectionDAG &DAG) {
bool V2IsUndef = V2.getOpcode() == ISD::UNDEF;
if (isSplatMask(PermMask.Val)) {
if (ISD::isBuildVectorAllZeros(V1.Val) || ISD::isBuildVectorAllOnes(V1.Val))
return V1;
if (NumElems <= 4) return Op;
// Promote it to a v4i32 splat.
return PromoteSplat(Op, DAG);