[PATCH] D126316: [clang][dataflow] Make limit on fixpoint-algorithm iterations proportional to size of CFG.
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 24 12:19:27 PDT 2022
gribozavr2 added inline comments.
================
Comment at: clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp:336
+ static constexpr uint32_t MaxAverageVisitsPerBlock = 4;
+ const uint32_t MaxIterations = MaxAverageVisitsPerBlock * BlockStates.size();
uint32_t Iterations = 0;
----------------
Could you cap the computed number at 1<<16 still?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126316/new/
https://reviews.llvm.org/D126316
More information about the cfe-commits
mailing list