[all-commits] [llvm/llvm-project] a0a904: [RISCV] Collect shuffle mask for the lane not by c...
Jim Lin via All-commits
all-commits at lists.llvm.org
Tue Mar 4 23:31:38 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a0a904e9467cfa8f980c31181caf6be402065b19
https://github.com/llvm/llvm-project/commit/a0a904e9467cfa8f980c31181caf6be402065b19
Author: Jim Lin <jim at andestech.com>
Date: 2025-03-05 (Wed, 05 Mar 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-interleaved-access.ll
Log Message:
-----------
[RISCV] Collect shuffle mask for the lane not by createSequentialMask (#129830)
If there are the shuffle mask <1, u, u, u, 2, u, u, u> with factor 4. we
should have the shuffle mask <1, 2> for lane 0 and <u, u> for lane 1,
and so on. Since we use createSequentialMask to create the shuffle mask,
the shuffle mask for lane 1 would be <u, 0>(dervied from <u, u+1>). This
leads to poor code generation.
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