diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h index 03899493847b3..49467ce0a54cd 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h @@ -916,10 +916,10 @@ END_TWO_BYTE_PACK() SmallVectorImpl &Worklist, unsigned int MaxSteps = 0, bool TopologicalPrune = false) { - SmallVector DeferredNodes; if (Visited.count(N)) return true; + SmallVector DeferredNodes; // Node Id's are assigned in three places: As a topological // ordering (> 0), during legalization (results in values set to // 0), new nodes (set to -1). If N has a topolgical id then we