[all-commits] [llvm/llvm-project] 228dbd: [RegAllocGreedy] Use MCRegister instead of Registe...

Craig Topper via All-commits all-commits at lists.llvm.org
Sat Feb 22 21:42:13 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 228dbd254a5addeaa638b23e2e7a63ba4efc763e
      https://github.com/llvm/llvm-project/commit/228dbd254a5addeaa638b23e2e7a63ba4efc763e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-02-22 (Sat, 22 Feb 2025)

  Changed paths:
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.h

  Log Message:
  -----------
  [RegAllocGreedy] Use MCRegister instead of Register for functions that return a physical register.

The callers of these functions return the value as an MCRegister
so this removes some casts from Register to MCRegister.



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