summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index addfde2f218..30168ba826c 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -4731,11 +4731,6 @@ static bool getTargetShuffleMaskIndices(SDValue MaskNode,
return false;
for (SDValue Op : MaskNode->ops()) {
- if (Op.isUndef()) {
- RawMask.push_back((uint64_t)SM_SentinelUndef);
- continue;
- }
-
if (auto *CN = dyn_cast<ConstantSDNode>(Op.getNode()))
SplitElementToMask(CN->getAPIntValue());
else if (auto *CFN = dyn_cast<ConstantFPSDNode>(Op.getNode()))
OpenPOWER on IntegriCloud