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

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 11 17:40:36 PDT 2025


================
@@ -66,9 +66,9 @@ void VEInstPrinter::printOperand(const MCInst *MI, int OpNum,
 
 void VEInstPrinter::printMemASXOperand(const MCInst *MI, int OpNum,
                                        const MCSubtargetInfo &STI,
-                                       raw_ostream &O, const char *Modifier) {
+                                       raw_ostream &O, StringRef Modifier) {
----------------
jurahul wrote:

Thanks, I guess I am not sure how to tell it immediately, but I removed it from the VE side.

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


More information about the llvm-commits mailing list