From 750efba67c528edd1d1af700fd925927faa7adec Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 13 Mar 2019 00:43:03 +0000 Subject: [X86] Enable printAliasInstr for the Intel assembly printer so that AAM and AAD will print without an immediate when the immediate is 10. llvm-svn: 355997 --- llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h') diff --git a/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h b/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h index 5155dee178a..67ea9b7fa97 100644 --- a/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h +++ b/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h @@ -28,6 +28,12 @@ public: void printInst(const MCInst *MI, raw_ostream &OS, StringRef Annot, const MCSubtargetInfo &STI) override; + // Autogenerated by tblgen, returns true if we successfully printed an + // alias. + bool printAliasInstr(const MCInst *MI, raw_ostream &OS); + void printCustomAliasOperand(const MCInst *MI, unsigned OpIdx, + unsigned PrintMethodIdx, raw_ostream &O); + // Autogenerated by tblgen. void printInstruction(const MCInst *MI, raw_ostream &O); static const char *getRegisterName(unsigned RegNo); -- cgit v1.2.3