Add flag to specify when no value is produced by an instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4441 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h
index db5372f..4850d5e 100644
--- a/lib/Target/X86/X86InstrInfo.h
+++ b/lib/Target/X86/X86InstrInfo.h
@@ -10,6 +10,15 @@
#include "llvm/Target/MachineInstrInfo.h"
#include "X86RegisterInfo.h"
+/// X86II - This namespace holds all of the target specific flags that
+/// instruction info tracks.
+///
+namespace X86II {
+ enum {
+ Void = 1 << 0, // Set if this instruction produces no value
+ };
+}
+
class X86InstrInfo : public MachineInstrInfo {
const X86RegisterInfo RI;
public: