[PATCH] D68577: [LV] Apply sink-after & interleave-groups as VPlan transformations (NFC)

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 11:54:20 PST 2019


efriedma added a comment.

In D68577#1739971 <https://reviews.llvm.org/D68577#1739971>, @Ayal wrote:

> 1. Such loops can and should be optimized to have a simple induction variable with constant trip count regardless of (and prior to) LV.


indvars does this transform.  That said, it only runs once; in some cases, we manage to simplify the loop after indvars runs.  Maybe it makes sense to run indvars again? We'd want to measure how much it actually triggers in practice.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68577/new/

https://reviews.llvm.org/D68577





More information about the llvm-commits mailing list