[llvm] [nfc][mlgo] Incrementally update DominatorTreeAnalysis in FunctionPropertiesAnalysis (PR #104867)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 09:30:50 PDT 2024


nikic wrote:

> The patch doesn't have new tests, but is presumably exercised by all the inliner tests. Can you remind us how the dominator tree analysis is checked for correctness? Why should we be confident that the new dominator tree is correct? Is it validated in regular +asserts builds, or is it covered under expensive checks? Have you run the test suite with that validation ahead of time, or which bot would we monitor post submit to see if it comes back green?

DT does not get verified by default, at least in this pipeline position. You need to add explicit DT.verify() calls for that (the way this is often done is to use fast verification in assertion builds and full verification under EXPENSIVE_CHECKS).

https://github.com/llvm/llvm-project/pull/104867


More information about the llvm-commits mailing list