[llvm] [NFC][MC] Use `StringRef` for Modifier in Inst/Asm Printers (PR #135403)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 11 14:40:35 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) {
----------------
s-barannikov wrote:
VE doesn't use modifiers, so this (and below) should be dropped too. I guess this was copied from Sparc, where I removed it some time ago.
https://github.com/llvm/llvm-project/pull/135403
More information about the llvm-commits
mailing list