mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 08:26:29 +00:00
Add support for .value.
llvm-svn: 117922
This commit is contained in:
parent
7a38cb0144
commit
a7f92c500c
@ -929,6 +929,8 @@ bool AsmParser::ParseStatement() {
|
||||
return ParseDirectiveValue(1);
|
||||
if (IDVal == ".short")
|
||||
return ParseDirectiveValue(2);
|
||||
if (IDVal == ".value")
|
||||
return ParseDirectiveValue(2);
|
||||
if (IDVal == ".long")
|
||||
return ParseDirectiveValue(4);
|
||||
if (IDVal == ".quad")
|
||||
|
@ -36,3 +36,7 @@ TEST4:
|
||||
# CHECK: .quad 1075
|
||||
|
||||
|
||||
TEST5:
|
||||
.value 8
|
||||
# CHECK: TEST5:
|
||||
# CHECK: .short 8
|
||||
|
Loading…
Reference in New Issue
Block a user