aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/TargetParser.cpp
diff options
context:
space:
mode:
authorEric Astor <epastor@google.com>2021-06-08 15:30:11 -0400
committerEric Astor <epastor@google.com>2021-06-08 15:44:31 -0400
commitdc0c3fe5f35eb5fc8d5b36bb79761fb374a87269 (patch)
treec9fb28cc89295b5df9e2aa0ab26b1ce9872e4fb6 /llvm/lib/Support/TargetParser.cpp
parent27332968d85e1ad4a58df884030e55abc00e91b1 (diff)
downloadllvm-dc0c3fe5f35eb5fc8d5b36bb79761fb374a87269.zip
llvm-dc0c3fe5f35eb5fc8d5b36bb79761fb374a87269.tar.gz
llvm-dc0c3fe5f35eb5fc8d5b36bb79761fb374a87269.tar.bz2
[ms] [llvm-ml] Disambiguate size directives and variable declarations
MASM allows statements of the form: <VAR> DWORD 5 to declare a variable with name <VAR>, while: call dword ptr [<value>] is a valid instruction. To disambiguate, we recognize size directives by the trailing "ptr" token. As discussed in https://lists.llvm.org/pipermail/llvm-dev/2021-May/150774.html Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D103257
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions