[all-commits] [llvm/llvm-project] bbb244: [RISCV] Set CopyCost on register classes [NFC] (#1...
Philip Reames via All-commits
all-commits at lists.llvm.org
Thu Mar 13 13:46:05 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bbb244c0fdd35ab98a9fee71e3b4960f5790d9bc
https://github.com/llvm/llvm-project/commit/bbb244c0fdd35ab98a9fee71e3b4960f5790d9bc
Author: Philip Reames <preames at rivosinc.com>
Date: 2025-03-13 (Thu, 13 Mar 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVRegisterInfo.td
Log Message:
-----------
[RISCV] Set CopyCost on register classes [NFC] (#131185)
This change sets up CopyCost to reflect the cost of copying a vector
register group, a vector segment, or a register pair.
This is NFC because the only actual usage of this field in tree is
simply checking that cost is not negative. That heuristic is around ABI
copy elimination during instruction emission + scheduling, and doesn't
immediately seem like it should apply for us.
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