[all-commits] [llvm/llvm-project] 0338c5: [LV, VPlan] Check if plan is compatible to EVL tra...

Shih-Po Hung via All-commits all-commits at lists.llvm.org
Fri May 24 17:23:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0338c55ea547bf9af1e98f9cd89868cf6fd6f314
      https://github.com/llvm/llvm-project/commit/0338c55ea547bf9af1e98f9cd89868cf6fd6f314
  Author: Shih-Po Hung <shihpo.hung at sifive.com>
  Date:   2024-05-25 (Sat, 25 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
    M llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-gather-scatter.ll

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list