[llvm] [SROA] Optimize reloaded values in allocas that escape into readonly nocapture calls. (PR #116645)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 27 05:17:50 PST 2024


davemgreen wrote:

The issues I found with SSAUpdater was that it loves to turn loads into poison, which is not generally valid for allocas. I've added an option to turn those values in zero instead, let me know if there is a better suggestion.

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


More information about the llvm-commits mailing list