summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InstructionCombining.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/InstructionCombining.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
index 39841d6cee7..a47ecd00231 100644
--- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud