[llvm-dev] Disable combining of loads and stores in instcombine

Neil Ryan via llvm-dev llvm-dev at lists.llvm.org
Wed Apr 17 10:40:35 PDT 2019

> But why is it desirable to avoid combining adjacent stores? If you’ve got DRF code then the combination can’t be observed.

It’s more that the consecutive stores would be going to different tiles. If multiple stores are combined in IR, I don’t think they’d be able to decoupled in IR, unless there’s a way to always determine which global object an arbitrary GEP is pointing to.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190417/7329cfea/attachment.html>

More information about the llvm-dev mailing list