[llvm] [llvm] Adopt WithMarkup in the MIPS backend (PR #65384)

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 10:42:03 PDT 2023


================
@@ -213,12 +213,11 @@ void MipsInstPrinter::printMemOperand(const MCInst *MI, int opNum,
     break;
   }
 
-  O << markup("<mem:");
+  WithMarkup M = markup(O, Markup::Memory);
----------------
JDevlieghere wrote:

It keeps the original behavior, but if you're saying that's wrong then I'm happy to update it. 

https://github.com/llvm/llvm-project/pull/65384


More information about the llvm-commits mailing list