[all-commits] [llvm/llvm-project] a57855: [ARM] Replace a hardcoded 14 used as an MCRegister...

Craig Topper via All-commits all-commits at lists.llvm.org
Sat Sep 14 12:15:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a578558251450dd5ea0efd40825a87c787e522b8
      https://github.com/llvm/llvm-project/commit/a578558251450dd5ea0efd40825a87c787e522b8
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-09-14 (Sat, 14 Sep 2024)

  Changed paths:
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp

  Log Message:
  -----------
  [ARM] Replace a hardcoded 14 used as an MCRegister index with ARM::LR.

LR is R14, but this data structure is indexed by MCRegister not
encoding. It's in a debug message so I guess no one ever noticed.

Found while auditing places that should use 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