[all-commits] [llvm/llvm-project] 25c5ba: [RISCV] Check the legality of source vector types ...

Min-Yih Hsu via All-commits all-commits at lists.llvm.org
Wed Mar 26 12:07:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25c5bad2f26e96a44b84765bedd82ee9bcffd22c
      https://github.com/llvm/llvm-project/commit/25c5bad2f26e96a44b84765bedd82ee9bcffd22c
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/splat-vectors.ll

  Log Message:
  -----------
  [RISCV] Check the legality of source vector types in matchSplatAsGather (#133028)

When we're trying to lower `extractelement + splat` with
vrgather.vi/.vx, we should also check the legality of source vector type
from `extractelement`, as the entire transformation assumes legal types.

Fixes #133020



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