]> granicus.if.org Git - clang/commit
[X86][MS-compatability][clang] allow MS TYPE/SIZE/LENGTH operators as a part of a...
authorCoby Tayree <coby.tayree@intel.com>
Tue, 21 Mar 2017 19:33:32 +0000 (19:33 +0000)
committerCoby Tayree <coby.tayree@intel.com>
Tue, 21 Mar 2017 19:33:32 +0000 (19:33 +0000)
commitb9931779a9b51ff404c6b3838707de8d674852ff
treed711622aa1a9d840a52df4a93713a4b59382bfed
parent81483b8e857452075f8547d896ebe193a264ba8c
[X86][MS-compatability][clang] allow MS TYPE/SIZE/LENGTH operators as a part of a compound expression

This patch introduces X86AsmParser with the ability to handle the aforementioned ops within compound "MS" arithmetical expressions.
Currently - only supported as a stand alone Operand, e.g.:
"TYPE X"
now allowed :
"4 + TYPE X * 128"

LLVM side: https://reviews.llvm.org/D31173
Differential Revision: https://reviews.llvm.org/D31174

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298426 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/ms-inline-asm.c