summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-mc/AsmParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-mc/AsmParser.cpp b/tools/llvm-mc/AsmParser.cpp
index c8eb7ec2ba..f67bad164a 100644
--- a/tools/llvm-mc/AsmParser.cpp
+++ b/tools/llvm-mc/AsmParser.cpp
@@ -981,8 +981,8 @@ bool AsmParser::ParseDirectiveFill() {
Lexer.Lex();
- if (FillSize != 1 && FillSize != 2 && FillSize != 4)
- return TokError("invalid '.fill' size, expected 1, 2, or 4");
+ if (FillSize != 1 && FillSize != 2 && FillSize != 4 && FillSize != 8)
+ return TokError("invalid '.fill' size, expected 1, 2, 4, or 8");
for (uint64_t i = 0, e = NumValues; i != e; ++i)
Out.EmitValue(MCValue::get(FillExpr), FillSize);