[llvm] [NFC][MC] Use `StringRef` for Modifier in Inst/Asm Printers (PR #135403)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 14 09:02:42 PDT 2025


================
@@ -172,15 +148,7 @@ void VEInstPrinter::printMemASOperandRRM(const MCInst *MI, int OpNum,
 
 void VEInstPrinter::printMemASOperandHM(const MCInst *MI, int OpNum,
                                         const MCSubtargetInfo &STI,
-                                        raw_ostream &O, const char *Modifier) {
-  // If this is an ADD operand, emit it like normal operands.
-  if (Modifier && !strcmp(Modifier, "arith")) {
----------------
jurahul wrote:

Thanks, resolving

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


More information about the llvm-commits mailing list