mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-27 07:12:06 +00:00
Add support for .value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117922 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
484291c273
commit
cc3acee7b3
@ -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…
x
Reference in New Issue
Block a user