mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-23 14:03:14 +00:00
llvm-mc: Accept .fill size of 8.
llvm-svn: 79635
This commit is contained in:
parent
e51af67afc
commit
fe93385495
@ -10,3 +10,8 @@ TEST0:
|
||||
# CHECK: .short 3
|
||||
TEST1:
|
||||
.fill 2, 2, 3
|
||||
|
||||
# CHECK: TEST2:
|
||||
# CHECK: .quad 4
|
||||
TEST2:
|
||||
.fill 1, 8, 4
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user