summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/InstPrinter
diff options
context:
space:
mode:
authorAndrew V. Tischenko <andrew.v.tischenko@gmail.com>2017-12-14 12:07:11 +0000
committerAndrew V. Tischenko <andrew.v.tischenko@gmail.com>2017-12-14 12:07:11 +0000
commit070d5e305410cb7cd7f264f032d74e76721d213a (patch)
tree9f32d5d5b71453426e362d25deef9cd93a341058 /llvm/lib/Target/X86/InstPrinter
parentbcd4318881d3bfa864d3ff9fa8383cbc28cb3dbe (diff)
downloadbcm5719-llvm-070d5e305410cb7cd7f264f032d74e76721d213a.tar.gz
bcm5719-llvm-070d5e305410cb7cd7f264f032d74e76721d213a.zip
Any Target Asm comments should start from MachineInstr::TAsmComments value.
llvm-svn: 320693
Diffstat (limited to 'llvm/lib/Target/X86/InstPrinter')
-rw-r--r--llvm/lib/Target/X86/InstPrinter/X86InstComments.h5
1 files changed, 4 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud