llvm-project
eec2249a - [RISCV] Improve getInterleavedMemoryOpCost for interleave groups with tail gaps. (#192074)

Commit
32 days ago
[RISCV] Improve getInterleavedMemoryOpCost for interleave groups with tail gaps. (#192074) For interleaved access groups where gaps are only at the tail (i.e. members are contiguous starting from index 0 but do not fill the entire factor), the interleaved memory access pass can lower them to vlsseg/vssseg intrinsics with NF equal to the number of group members rather than the factor after #151612 and #154647. Previously these groups fell through to the generic fixed-vector shuffle cost model. This patch adds a dedicated cost path that checks legality and estimates appropriate cost for them. TODO: Support scalable vector type. Fix #151497
Author
Parents
Loading