[llvm] [CodeGen] Source-qualify hashes of module-local globals for GFM and o… (PR #219938)

Kyungwoo Lee via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 2 08:10:07 PDT 2026


https://github.com/kyulee-com approved this pull request.

Overall it looks good to me.

Would you update very first word in typo in summary?

It seems you apply this change for globals not for functions. I can see why you want to apply globals only, but do you have insights on this? I just want to double-check it.

On a related note, we typically use `-funique-internal-linkage-names` for PGO to get unique naming for functons anyhow. There is a related PR -- https://github.com/llvm/llvm-project/pull/219261 that also makes globals unique. I wonder if that PR also resolves this problem naturally.
It'd be interesting to see some size impacts by comparing them.

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


More information about the llvm-commits mailing list