[llvm-dev] Loop Distribution pass

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 13 11:27:23 PDT 2018


On Thu, 13 Sep 2018 at 17:33, Saito, Hideki <hideki.saito at intel.com> wrote:
> Many loop optimizers (Transforms) can benefit from knowing whether the loop is legal to vectorize (or loop will vectorize). Distribution and fusion are clear examples. Vectorizer has a lot in common with unroll and jam, and we should definitely share a lot. Where to place these analyses is debatable, but my preference is having them under the Analysis tree since they are indeed analysis and in principle they shouldn't depend on Transform. I think we should start from a utility but should implement it in such a way to make it easy to convert to an analysis pass.

Sure, I agree with you on that. I'm just curious as tho which concrete
passes would benefit sooner.

--renato


More information about the llvm-dev mailing list