llvm-project
5886f0a1 - [RISCV] Allow larger offset when matching build_vector as vid sequence (#144756)

Commit
137 days ago
[RISCV] Allow larger offset when matching build_vector as vid sequence (#144756) I happened to notice that when legalizing get.active.lane.mask with large vectors we were materializing via constant pool instead of just shifting by a constant. We should probably be doing a full cost comparison for the different lowering strategies as opposed to our current adhoc heuristics, but the few cases this regresses seem pretty minor. (Given the reduction in vset toggles, they might not be regressions at all.) --------- Co-authored-by: Craig Topper <craig.topper@sifive.com>
Author
Parents
Loading