2 Commits

Author SHA1 Message Date
Alex Bradbury
ae14754612 [RISCV] Implement isMultiStoresCheaperThanBitsMerge hook
Grabs the same logic and reasoning from the X86 implementation of the
hook. The benefit is slightly less clear for when the soft float ABI is
used (i.e. there's no transfer from an FPR to a GPR), but I've opted not
to gate it based on ABI.

Differential Revision: https://reviews.llvm.org/D140408
2023-01-31 12:47:48 +00:00
Alex Bradbury
1a8abab269 [RISCV][test] Add tests ahead of isMultiStoresCheaperThanBitsMerge hook implementation
Differential Revision: https://reviews.llvm.org/D140409
2023-01-31 12:44:05 +00:00