[all-commits] [llvm/llvm-project] c34519: [RISCV] Add a command line option to disable cost ...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Feb 28 15:06:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c345198c7a68cb76e82dbc04d0e91476cb0edc70
      https://github.com/llvm/llvm-project/commit/c345198c7a68cb76e82dbc04d0e91476cb0edc70
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-02-28 (Wed, 28 Feb 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp

  Log Message:
  -----------
  [RISCV] Add a command line option to disable cost per use for compressed registers. (#83320)

I've seen cases where the cost per use increase the number of spills.
Disabling improves the codegen for #79918.

I propose adding this option to allow easier experimentation.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list