[all-commits] [llvm/llvm-project] 5b8f37: [RISCV][P-ext] Select PPAIREO.W when packing with ...

SiHuaN via All-commits all-commits at lists.llvm.org
Wed Sep 23 18:59:08 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b8f372ab952fa3a83411d1d289c9a8d2e2fb3dd
      https://github.com/llvm/llvm-project/commit/5b8f372ab952fa3a83411d1d289c9a8d2e2fb3dd
  Author: SiHuaN <liyongtai at iscas.ac.cn>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoP.td
    A llvm/test/CodeGen/RISCV/rvp-ppaireo-w.ll
    M llvm/test/CodeGen/RISCV/rvp-simd-64.ll

  Log Message:
  -----------
  [RISCV][P-ext] Select PPAIREO.W when packing with the high word of a value (#225763)

The low-half packed subvector insert is a v2i32 whose low word is the
subvector and whose high word is the high word of the wide vector,
which is exactly `ppaireo.w` (the low word comes from `rs1`, the high
word from `rs2`). Select it directly instead of `srli` + `pack`.

Adds `rvp-ppaireo-w.ll`; `rvp-simd-64.ll` is updated because the scalar
low insert in `test_insert_vector_32` now selects `ppaireo.w`.



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