[llvm] Update Called Globals info when updating Call Site info (PR #122762)

Daniel Paoliello via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 11:40:41 PST 2025


dpaoliello wrote:

> On a related note, should we skip constructing the CalledGlobalsMap if we know nothing will actually consume the information?

I'm a little hesitant to do this, since I can imagine that condition becoming more complex as more things consume the information, but I'll consider it with adding it with the function attribute (since that'll be easier to check than the LLVM arg).

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


More information about the llvm-commits mailing list