[PATCH] D154885: [DAGCombiner] Limit graph traversal to cap compile times
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 24 15:21:42 PDT 2023
dblaikie added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:17630
SmallVector<SDNode *, 16> OtherUses;
+ const unsigned int MaxSteps = 8192;
if (isa<ConstantSDNode>(Offset))
----------------
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:17848
SmallVector<const SDNode *, 8> Worklist;
+ const unsigned int MaxSteps = 8192;
// Ptr is predecessor to both N and Op.
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154885/new/
https://reviews.llvm.org/D154885
More information about the llvm-commits
mailing list