MIR Serialization: Serialize the 'early-clobber' register operand flag.
[oota-llvm.git] / lib / CodeGen / MIRParser / MILexer.h
index 9a403496351d49f4953da85ea612294b5ef867e2..14eb17aa9da8a6cedd4846929df259dda7b54cd3 100644 (file)
@@ -47,6 +47,7 @@ struct MIToken {
     kw_dead,
     kw_killed,
     kw_undef,
+    kw_early_clobber,
     kw_debug_use,
     kw_frame_setup,
     kw_debug_location,
@@ -120,7 +121,7 @@ public:
   bool isRegisterFlag() const {
     return Kind == kw_implicit || Kind == kw_implicit_define ||
            Kind == kw_dead || Kind == kw_killed || Kind == kw_undef ||
-           Kind == kw_debug_use;
+           Kind == kw_early_clobber || Kind == kw_debug_use;
   }
 
   bool isMemoryOperandFlag() const { return Kind == kw_volatile; }