[all-commits] [llvm/llvm-project] ffe5cd: [RISCV] Support vp.{gather, scatter} in RISCVGather...

Luke Lau via All-commits all-commits at lists.llvm.org
Mon Jan 13 20:51:22 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffe5cddb68ab84348866b3a3ac727d263b2a44c2
      https://github.com/llvm/llvm-project/commit/ffe5cddb68ab84348866b3a3ac727d263b2a44c2
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-strided-load-store.ll
    M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll

  Log Message:
  -----------
  [RISCV] Support vp.{gather,scatter} in RISCVGatherScatterLowering (#122232)

This adds support for lowering llvm.vp.{gather,scatter}s to
experimental.vp.strided.{load,store}.

This will help us handle strided accesses with EVL tail folding that are
emitted from the loop vectorizer, but note that it's still not enough.
We will also need to handle the vector step not being loop-invariant
(i.e. produced by @llvm.experimental.vector.length) in a future patch.



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