[all-commits] [llvm/llvm-project] 6eb9e0: [clang][dataflow] Make limit on fixpoint-algorithm...
Yitzhak Mandelbaum via All-commits
all-commits at lists.llvm.org
Tue May 24 13:20:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6eb9e0f5ebb94cccf52ea27aa342001b84c1c8b1
https://github.com/llvm/llvm-project/commit/6eb9e0f5ebb94cccf52ea27aa342001b84c1c8b1
Author: Yitzhak Mandelbaum <yitzhakm at google.com>
Date: 2022-05-24 (Tue, 24 May 2022)
Changed paths:
M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
Log Message:
-----------
[clang][dataflow] Make limit on fixpoint-algorithm iterations proportional to size of CFG.
Currently, the maximum number of iterations of the loop for finding the fixpoint
of the dataflow analysis is set at 2^16. When things go wrong in an analysis,
this can be far too large. This patch changes the limit to be proportional to
the size of the CFG, which will generally be far smaller than 2^16 (while still
maintaining 2^16 as the absolute limit).
Differential Revision: https://reviews.llvm.org/D126316
More information about the All-commits
mailing list