aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 39841d6cee..a47ecd0023 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -8992,13 +8992,6 @@ Instruction *InstCombiner::visitShuffleVectorInst(ShuffleVectorInst &SVI) {
}
}
- // See if SimplifyDemandedVectorElts can simplify based on this shuffle. For
- // example, if this is a splat, then we only demand from one input element.
- uint64_t UndefElts;
- if (Value *V = SimplifyDemandedVectorElts(&SVI, (1ULL << Mask.size())-1,
- UndefElts))
- return ReplaceInstUsesWith(SVI, V);
-
return MadeChange ? &SVI : 0;
}