[all-commits] [llvm/llvm-project] 80b1dd: [LV] Drop the mask of a predicated store masked by...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Jun 14 12:53:00 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80b1dddb5a24c5a09865357db0173260d8132ac0
      https://github.com/llvm/llvm-project/commit/80b1dddb5a24c5a09865357db0173260d8132ac0
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-06-14 (Sun, 14 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/SystemZ/pr47665.ll
    M llvm/test/Transforms/LoopVectorize/X86/vectorize-interleaved-accesses-gap.ll
    M llvm/test/Transforms/LoopVectorize/predicatedinst-loop-invariant.ll

  Log Message:
  -----------
  [LV] Drop the mask of a predicated store masked by the header mask. (#201676)

Drop the mask of a predicated store masked by the header mask (which is
guaranteed to be true at least for the first lane) and both the stored
value and the address are uniform across VF and UF.

An similar version for loads was included in
https://github.com/llvm/llvm-project/pull/196630, but restricted the
uniform-across-vfs-and-ufs did not have impact in practice.

For stores, this results in some improvements after
https://github.com/llvm/llvm-project/pull/196632.

PR: https://github.com/llvm/llvm-project/pull/201676



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