llvm-project
0338c55e - [LV, VPlan] Check if plan is compatible to EVL transform (#92092)

Commit
1 year ago
[LV, VPlan] Check if plan is compatible to EVL transform (#92092) The transform updates all users of inductions to work based on EVL, instead of the VF directly. At the moment, widened inductions cannot be updated, so bail out if the plan contains any. This patch introduces a check before applying EVL transform. If any recipes in loop rely on RuntimeVF, the plan is discarded.
Author
Parents
  • llvm
    • lib/Transforms/Vectorize
      • File
        LoopVectorize.cpp
      • File
        VPlanTransforms.cpp
      • File
        VPlanTransforms.h
    • test/Transforms/LoopVectorize/RISCV
      • evl-compatible-loops.ll
      • vectorize-force-tail-with-evl-gather-scatter.ll