[all-commits] [llvm/llvm-project] 59a9e4: [RISCV] Update matchSplatAsGather to convert vecto...

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Thu Dec 5 06:47:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59a9e4d8a450529d02e7f08e21c40f8c547b2ebd
      https://github.com/llvm/llvm-project/commit/59a9e4d8a450529d02e7f08e21c40f8c547b2ebd
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-12-05 (Thu, 05 Dec 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/intrinsic-vector-match.ll

  Log Message:
  -----------
  [RISCV] Update matchSplatAsGather to convert vectors if they have different sizes (#117878)

This patch updates the matchSplatAsGather function so we can handle vectors of different sizes. The goal is to improve the code gen for @llvm.experimental.vector.match on RISCV.

Currently, we use a scalar extract and splat instead of vrgather, and the patch changes that.



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