[all-commits] [llvm/llvm-project] 2ee7ba: [RISCV] Move Size and CopyCost overrides for vecto...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Mar 14 10:02:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ee7ba47dc97ef377479ab013a2c3d2074a86393
      https://github.com/llvm/llvm-project/commit/2ee7ba47dc97ef377479ab013a2c3d2074a86393
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-03-14 (Fri, 14 Mar 2025)

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

  Log Message:
  -----------
  [RISCV] Move Size and CopyCost overrides for vector register to the VReg class. NFC (#131222)

Instead using the IsVRegClass to calculate in the base class, just
override directly.

This will scale better if we need to do different types of overrides for
other register types in the future.



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