forked from OSchip/llvm-project
[LegalizeDAG] Prune Predecessor check in ExpandExtractFromVectorThroughStack. NFCI.
llvm-svn: 342985
This commit is contained in:
parent
f445a67be4
commit
a2f514d672
|
@ -1248,6 +1248,7 @@ SDValue SelectionDAGLegalize::ExpandExtractFromVectorThroughStack(SDValue Op) {
|
|||
// Caches for hasPredecessorHelper
|
||||
SmallPtrSet<const SDNode *, 32> Visited;
|
||||
SmallVector<const SDNode *, 16> Worklist;
|
||||
Visited.insert(Op.getNode());
|
||||
Worklist.push_back(Idx.getNode());
|
||||
SDValue StackPtr, Ch;
|
||||
for (SDNode::use_iterator UI = Vec.getNode()->use_begin(),
|
||||
|
|
Loading…
Reference in New Issue