Files
clang-p2996/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Jim Lin a0a904e946 [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.
2025-03-05 15:31:16 +08:00

929 KiB