[PATCH] D154885: [DAGCombiner] Limit graph traversal to cap compile times
Pranav Kant via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 25 10:32:53 PDT 2023
pranavk 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))
----------------
dblaikie wrote:
>
Thanks. I made it a constexpr. I think I made it 'const unsigned' after looking at similar code in this file or directory.
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