[clang] [clang][CodeGen] Decide the array-bounds comparison from the enclosin… (PR #218775)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 15 20:07:32 PDT 2026


efriedma-quic wrote:

The performance isn't a big deal, I guess.  Maybe we can mitigate the performance a bit by being a bit smarter about when we do the walk: the map becomes a lot smaller if we fill it before each statement, then clear it after each statement, instead of computing it for the whole function at once.

Can you put the recursive visit into clang/lib/CodeGenUtils/?

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


More information about the cfe-commits mailing list