[PATCH] D142356: [MC] Use MCRI instead of MRI for MCRegisterInfo. NFC.

Sergei Barannikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 06:57:22 PST 2023


barannikov88 added a comment.

I don't think this is an improvement. People got used to MRI (which is consistent with `MII`, `MAI`, etc.) and will continue to use it, which will introduce more inconsistencies.

> This is to avoid confusion with MachineRegisterInfo.

IMHO there is no confusion. `MachineRegisterInfo` is only used in CodeGen, while `MCRegisterInfo` is primarily used in MC layer.
Just note that almost all affected files are in MCTargetDesc/AsmParser/Disassembler directories.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142356/new/

https://reviews.llvm.org/D142356



More information about the llvm-commits mailing list