[all-commits] [llvm/llvm-project] 86916f: [LV] Fix gap mask requirement for interleaved acce...

Mel Chen via All-commits all-commits at lists.llvm.org
Thu Jul 31 23:24:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86916ff0f06b87e98523e05ddb455ecfac210f84
      https://github.com/llvm/llvm-project/commit/86916ff0f06b87e98523e05ddb455ecfac210f84
  Author: Mel Chen <mel.chen at sifive.com>
  Date:   2025-08-01 (Fri, 01 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    A llvm/test/Transforms/LoopVectorize/RISCV/interleaved-store-with-gap.ll

  Log Message:
  -----------
  [LV] Fix gap mask requirement for interleaved access (#151105)

When interleaved stores contain gaps, a mask is required to skip the
gaps, regardless of whether scalar epilogues are allowed.
This patch corrects the condition under which a gap mask is needed,
ensuring consistency between the legacy and VPlan-based cost models and
avoiding assertion failures.

Related #149981



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