[all-commits] [llvm/llvm-project] 62bcbe: [llvm-mca] Use MCRegister::id() to remove an impli...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Jan 30 00:19:44 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62bcbe62dd635ceaad25d2fb2c94e9914451dc99
      https://github.com/llvm/llvm-project/commit/62bcbe62dd635ceaad25d2fb2c94e9914451dc99
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

  Changed paths:
    M llvm/lib/MCA/InstrBuilder.cpp

  Log Message:
  -----------
  [llvm-mca] Use MCRegister::id() to remove an implicit conversion. NFC

It might be worth plumbing MCRegister through this code, but it's
very often used as a index and would require many more calls to
id().



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