[PATCH] D140654: [MC] Use MCRegister instead of unsigned in MCInstPrinter (NFC)

Sergei Barannikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 15 00:51:00 PST 2023


barannikov88 added inline comments.


================
Comment at: llvm/include/llvm/MC/MCInstPrinter.h:12
 
+#include "llvm/MC/MCRegister.h"
 #include "llvm/Support/Format.h"
----------------
craig.topper wrote:
> Can this be a forward reference?
Nope, it is passed by value in `printRegName` below (and also in generated `getRegisterName`).



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140654



More information about the llvm-commits mailing list