[llvm] [SROA] Optimize reloaded values in allocas that escape into readonly nocapture calls. (PR #116645)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 18 09:12:10 PST 2024
https://github.com/nikic commented:
I like the idea. This is kind of similar to load-only promotion in LICM.
Your current implementation handles a single dominating store -- should we use SSAUpdater / LoadStorePromoter instead to handle the general case?
https://github.com/llvm/llvm-project/pull/116645
More information about the llvm-commits
mailing list