[PATCH] D41953: [LoopUnroll] Unroll and Jam

Diego Caballero via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 29 14:43:41 PDT 2018


dcaballe added a comment.

> For example, uniform control flow check @dcaballe has written is probably shareable. Ditto for Divergence Analysis RFC by Simon Moll.

You could have a look at `isExplicitVecOuterLoop` and `isUniformLoop` in https://reviews.llvm.org/D42447. Currently, they are implementing specific checks for supported outer loops in VPlan but some of this code could be generalized and refactored.
Simon's RFC is here, in case you missed it: http://lists.llvm.org/pipermail/llvm-dev/2018-May/123606.html

> Dependence Analysis for outer loop vectorization isn't something we are currently working on, and thus being able to reuse is a very nice thing.

Agreed. Outer loop auto-vectorization and, in particular, extensions in legality analysis to support outer loops, including `LoopAccessAnalysis`, is something that we are not currently working on. I briefly mentioned that and other open TODOs in my EuroLLVM talk, in case there is any other overlap/reusability opportunity with unroll-and-jam: https://www.youtube.com/watch?v=z6NeHLRNVok&t=27m50s

Thanks,
Diego


Repository:
  rL LLVM

https://reviews.llvm.org/D41953





More information about the llvm-commits mailing list