Issue 154506
Summary Harden performance of lifetime analysis
Labels metaissue, clang:analysis, clang:temporal-safety
Assignees
Reporter usx95
    Measure and optimize compile-time performance

* Benchmarking: Measure the analysis's impact on the compiler.


Deliverable: Performance reports on compile-time and memory usage overhead, tested against microbenchmarks, known pathological cases (e.g., cyclic pointer assignments in loops), and real-world codebases like LLVM and SQLite.

* Optimization: Analysis must be efficient enough to be ready for default enablement.

Deliverable: A compile-time overhead targeting a maximum of 5%. This will be achieved through bailout strategies (like capping iterations in the dataflow analysis for overly large functions) and optimizing core data structures (e.g., using persistent maps or tries for loan sets).





_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to