[llvm-dev] Loop Access Analysis

Shraiysh Vaishay via llvm-dev llvm-dev at lists.llvm.org
Sat Dec 21 10:40:43 PST 2019

Hi all,

Just putting this here in case someone else stumbles upon this.

So, it looks like it is important to rotate the loop for the pass to run
properly. Running `-passes="function(mem2reg,loop(rotate))"` started
displaying proper analysis.
A related issue was mentioned earlier [here](


On Sat, Dec 21, 2019 at 3:33 PM Shraiysh Vaishay <cs17btech11050 at iith.ac.in>

> Hi all,
> What kind of input loop is expected for the loop-access pass to run
> smoothly?
> Also, what passes (like mem2reg) should be run to ensure the desired form
> is attained. Is running mem2reg, indvars and loop-simplify enough for that?
> Any help will be appreciated.
> Thanks and regards,
> Shraiysh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191222/b786aa35/attachment.html>

More information about the llvm-dev mailing list