[clang] [LifetimeSafety] Add bailout for large CFGs (PR #170444)
Utkarsh Saxena via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 3 10:09:39 PST 2025
================
@@ -58,13 +58,19 @@ class LifetimeChecker {
public:
LifetimeChecker(const LoanPropagationAnalysis &LoanPropagation,
----------------
usx95 wrote:
The checker is most likely too late for any kind of bailout. The LoanPropagation has already been completed at this point.
Number of blocks is available even before the fact generation.
Number of origins is available immediately after fact generation.
So these two bailouts can be done in `LifetimeSafetyAnalysis::run`
https://github.com/llvm/llvm-project/pull/170444
More information about the cfe-commits
mailing list