[all-commits] [llvm/llvm-project] 9b7282: [RISCV] Recognize de-interleave shuffles with 2 so...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Feb 16 20:40:32 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b7282e545d5e47315e3ffb9e5e00d0fb547c8e3
      https://github.com/llvm/llvm-project/commit/9b7282e545d5e47315e3ffb9e5e00d0fb547c8e3
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-02-16 (Sun, 16 Feb 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-deinterleave-load.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-deinterleave.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shufflevector-vnsrl.ll
    M llvm/test/CodeGen/RISCV/rvv/vector-deinterleave-fixed.ll

  Log Message:
  -----------
  [RISCV] Recognize de-interleave shuffles with 2 sources. (#127272)

We can use vnsrl+trunc on each source and concatenate the results
with vslideup.
    
For low LMUL it would be better to concat first, but I'm leaving
this for later.



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