[all-commits] [llvm/llvm-project] 69ade7: [LV] Check if the VF is scalar by VFRange in `hand...

Elvis Wang via All-commits all-commits at lists.llvm.org
Thu Apr 17 15:51:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69ade7c090b59373a18c38b2c80c48f97a0afcde
      https://github.com/llvm/llvm-project/commit/69ade7c090b59373a18c38b2c80c48f97a0afcde
  Author: Elvis Wang <elvis.wang at sifive.com>
  Date:   2025-04-18 (Fri, 18 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.h

  Log Message:
  -----------
  [LV] Check if the VF is scalar by VFRange in `handleUncountableEarlyExit`. (#135294)

This patch check if the plan contains scalar VF by VFRange instead of
Plan.
This patch also clamp the range to contains either only scalar or only
vector VFs to prevent mis-compile.

Split from #113903.



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