[ms] [llvm-ml] Accept whitespace around the dot operator
authorEric Astor <epastor@google.com>
Tue, 29 Sep 2020 21:01:05 +0000 (17:01 -0400)
committerEric Astor <epastor@google.com>
Tue, 29 Sep 2020 21:01:13 +0000 (17:01 -0400)
commitfeb74530f86516de211d8b91eab426fc39d1b3e8
treeed1341f4b51012666b771ae9d1e2bf06050848ce
parent0548d1ca24b72d28e50fbd8a456b1fd36beacb07
[ms] [llvm-ml] Accept whitespace around the dot operator

MASM allows arbitrary whitespace around the Intel dot operator, especially when used for struct field lookup

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D88450
llvm/lib/MC/MCParser/MasmParser.cpp
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/test/tools/llvm-ml/dot_operator.test [new file with mode: 0644]
llvm/test/tools/llvm-ml/struct.test