[all-commits] [llvm/llvm-project] 97bcee: [RISCV][P-ext] Improve the codegen for unzip-like ...

Hongyu Chen via All-commits all-commits at lists.llvm.org
Sun Jul 12 05:11:34 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97bceede1059b67d3491011f415856f32de21c9c
      https://github.com/llvm/llvm-project/commit/97bceede1059b67d3491011f415856f32de21c9c
  Author: Hongyu Chen <xxs_chy at outlook.com>
  Date:   2026-07-12 (Sun, 12 Jul 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoP.td
    M llvm/test/CodeGen/RISCV/rvp-srl-bitcast-bv.ll
    M llvm/test/CodeGen/RISCV/rvp-zip.ll

  Log Message:
  -----------
  [RISCV][P-ext] Improve the codegen for unzip-like shuffle and buildvector (#208763)

This patch selects `pncvt*`/`unzip*` for unzip-like patterns.
On RV32, we select packed narrow shift for i8x4 and i16x2 BUILD_VECTOR
that are equivalent to deinterleave shuffle.
On RV64, we select packed unzip for i8x4 and i16x2 deinterleave shuffle.
Apart from the packed unzip intrinsics, this patch also adds support for
the codegen of two-source unzip.



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