[llvm] [Transforms][Utils] Strip unnamed_addr on indirect call promotion (PR #221121)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 4 00:18:39 PDT 2026
kazutakahirata wrote:
> Any numbers on how much folding this prevents?
In one application I am looking at:
- 2GB `.text` section grew by 17KB
- Without this patch: 447,128 duplicate sections folded into 59,936 canonical sections
- With this patch: 446,984 duplicate sections folded into 59,907 canonical sections
So, we've lost 144 duplicate sections (prior to folding) -- 0.032%.
https://github.com/llvm/llvm-project/pull/221121
More information about the llvm-commits
mailing list