mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
[LegalizeDAG] Prune Predecessor check in ExpandExtractFromVectorThroughStack. NFCI.
llvm-svn: 342985
This commit is contained in:
parent
b68f8ddcb9
commit
9c9fb30cc3
@ -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
Block a user