[PATCH] D101308: [SystemZ][z/OS] Remove register prefixes when printing out the register.

Abhina Sree via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 27 05:44:38 PDT 2021


abhina.sreeskantharajan accepted this revision.
abhina.sreeskantharajan added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp:59
 
+void SystemZInstPrinter::printFormattedRegName(const MCAsmInfo *MAI,
+                                               unsigned RegNo, raw_ostream &O) {
----------------
minor comment: Could we just pass in the AssemblerDialect instead of the MAI object because it seems to be the only thing being used? If there are future changes coming that use MAI, then feel free to ignore.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101308



More information about the llvm-commits mailing list