From 070d5e305410cb7cd7f264f032d74e76721d213a Mon Sep 17 00:00:00 2001 From: "Andrew V. Tischenko" Date: Thu, 14 Dec 2017 12:07:11 +0000 Subject: Any Target Asm comments should start from MachineInstr::TAsmComments value. llvm-svn: 320693 --- llvm/lib/Target/X86/InstPrinter/X86InstComments.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'llvm/lib') diff --git a/llvm/lib/Target/X86/InstPrinter/X86InstComments.h b/llvm/lib/Target/X86/InstPrinter/X86InstComments.h index c6d0d85a7d3..629c02c95c7 100644 --- a/llvm/lib/Target/X86/InstPrinter/X86InstComments.h +++ b/llvm/lib/Target/X86/InstPrinter/X86InstComments.h @@ -15,10 +15,13 @@ #ifndef LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTCOMMENTS_H #define LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTCOMMENTS_H +#include "llvm/CodeGen/MachineInstr.h" + namespace llvm { enum AsmComments { - AC_EVEX_2_VEX = 0x2 // For instr that was compressed from EVEX to VEX. + // For instr that was compressed from EVEX to VEX. + AC_EVEX_2_VEX = MachineInstr::TAsmComments }; class MCInst; -- cgit v1.2.3