[all-commits] [llvm/llvm-project] b9b454: [RISCV][P-ext] Generalize lowerVECTOR_SHUFFLEAsRV3...
Hongyu Chen via All-commits
all-commits at lists.llvm.org
Mon Jul 20 01:51:47 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b9b454166eaa92d2e6e129f6c21ad59639d8364e
https://github.com/llvm/llvm-project/commit/b9b454166eaa92d2e6e129f6c21ad59639d8364e
Author: Hongyu Chen <xxs_chy at outlook.com>
Date: 2026-07-20 (Mon, 20 Jul 2026)
Changed paths:
M cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvp-zip.ll
Log Message:
-----------
[RISCV][P-ext] Generalize lowerVECTOR_SHUFFLEAsRV32PNarrowingShift (#210522)
The previous implementation only matches
`shuffle(extract_subvector(src), extract_subvector(src), mask)`.
This patch generalizes it to `shuffle(a, b, mask)`, so we can now lower
it to `PNSRL(concat(a,b), element_bits)` if it is a deinterleave
shuffle. And we use `foldConcatVector` to handle the original pattern
with `extract_subvector`.
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