Skip to content

Commit b361d36

Browse files
author
klensy
committed
later init DeferredNodes
1 parent 4481030 commit b361d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/CodeGen/SelectionDAGNodes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,10 +916,10 @@ END_TWO_BYTE_PACK()
916916
SmallVectorImpl<const SDNode *> &Worklist,
917917
unsigned int MaxSteps = 0,
918918
bool TopologicalPrune = false) {
919-
SmallVector<const SDNode *, 8> DeferredNodes;
920919
if (Visited.count(N))
921920
return true;
922921

922+
SmallVector<const SDNode *, 8> DeferredNodes;
923923
// Node Id's are assigned in three places: As a topological
924924
// ordering (> 0), during legalization (results in values set to
925925
// 0), new nodes (set to -1). If N has a topolgical id then we

0 commit comments

Comments
 (0)