[llvm] f4d9d80 - [ARC] Correct ARCInstPrinter::getMnemonic after D90039
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 17 09:08:47 PST 2020
Author: Fangrui Song
Date: 2020-11-17T09:08:36-08:00
New Revision: f4d9d80fe477ac7963e49265e4d7eb3766688c5a
URL: https://github.com/llvm/llvm-project/commit/f4d9d80fe477ac7963e49265e4d7eb3766688c5a
DIFF: https://github.com/llvm/llvm-project/commit/f4d9d80fe477ac7963e49265e4d7eb3766688c5a.diff
LOG: [ARC] Correct ARCInstPrinter::getMnemonic after D90039
Added:
Modified:
llvm/lib/Target/ARC/MCTargetDesc/ARCInstPrinter.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/ARC/MCTargetDesc/ARCInstPrinter.h b/llvm/lib/Target/ARC/MCTargetDesc/ARCInstPrinter.h
index bcb790c2fa57..f6f8f9d089df 100644
--- a/llvm/lib/Target/ARC/MCTargetDesc/ARCInstPrinter.h
+++ b/llvm/lib/Target/ARC/MCTargetDesc/ARCInstPrinter.h
@@ -26,7 +26,7 @@ class ARCInstPrinter : public MCInstPrinter {
: MCInstPrinter(MAI, MII, MRI) {}
// Autogenerated by tblgen.
- std::pair<std::string, uint64_t> getMnemonic(const MCInst *MI) override;
+ std::pair<const char *, uint64_t> getMnemonic(const MCInst *MI) override;
void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O);
static const char *getRegisterName(unsigned RegNo);
More information about the llvm-commits
mailing list