summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRParser/MILexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MILexer.h')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MILexer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.h b/llvm/lib/CodeGen/MIRParser/MILexer.h
index 407a85a32a1..1ff7dda1151 100644
--- a/llvm/lib/CodeGen/MIRParser/MILexer.h
+++ b/llvm/lib/CodeGen/MIRParser/MILexer.h
@@ -67,6 +67,7 @@ struct MIToken {
kw_ppc_fp128,
kw_target_flags,
kw_volatile,
+ kw_non_temporal,
// Identifier tokens
Identifier,
@@ -128,7 +129,9 @@ public:
Kind == kw_early_clobber || Kind == kw_debug_use;
}
- bool isMemoryOperandFlag() const { return Kind == kw_volatile; }
+ bool isMemoryOperandFlag() const {
+ return Kind == kw_volatile || Kind == kw_non_temporal;
+ }
bool is(TokenKind K) const { return Kind == K; }
OpenPOWER on IntegriCloud