[all-commits] [llvm/llvm-project] ae1475: [RISCV] Implement isMultiStoresCheaperThanBitsMerg...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Tue Jan 31 04:48:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae147546122beda1f25a4db4f2a4b37de1a19974
      https://github.com/llvm/llvm-project/commit/ae147546122beda1f25a4db4f2a4b37de1a19974
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-01-31 (Tue, 31 Jan 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/test/CodeGen/RISCV/split-store.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list