summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-08-11 08:37:00 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-08-11 08:37:00 +0000
commit83cf3a29b55d368e888eb76749866a3689a1cf65 (patch)
treec163f0772f871357e6c1af5cdc7c1a640f9e146b /llvm/lib
parent55afa7504f11dddcde9f732cb28d1af0c0197cce (diff)
downloadbcm5719-llvm-83cf3a29b55d368e888eb76749866a3689a1cf65.tar.gz
bcm5719-llvm-83cf3a29b55d368e888eb76749866a3689a1cf65.zip
[DAGCombiner] Remove shuffle support from simplifyShuffleMask
rL310372 enabled simplifyShuffleMask to support undef shuffle mask inputs, but its causing hangs. Removing support until I can triage the problem llvm-svn: 310699
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 7515a7ab6d7..a247f2656be 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -15161,8 +15161,6 @@ static SDValue simplifyShuffleMask(ShuffleVectorSDNode *SVN, SDValue N0,
// TODO - handle more cases as required.
if (V.getOpcode() == ISD::BUILD_VECTOR)
return V.getOperand(Idx).isUndef();
- if (auto *SVN = dyn_cast<ShuffleVectorSDNode>(V))
- return SVN->getMaskElt(Idx) < 0;
return false;
};
OpenPOWER on IntegriCloud