[X86][MS-InlineAsm] Extended support for variables / identifiers on memory / immediat...
authorCoby Tayree <coby.tayree@intel.com>
Fri, 29 Sep 2017 07:02:46 +0000 (07:02 +0000)
committerCoby Tayree <coby.tayree@intel.com>
Fri, 29 Sep 2017 07:02:46 +0000 (07:02 +0000)
commitc3d24118e8232864e347f1db3420e8ed89c61219
tree8c6387be8ac05bb5497f5a9d14301eaa5254e650
parentc2ec6ce65c50bb9ad2ed0d1a6e7ae7c2c35c34fd
[X86][MS-InlineAsm] Extended support for variables / identifiers on memory / immediate expressions

Allow the proper recognition of Enum values and global variables inside ms inline-asm memory / immediate expressions, as they require some additional overhead and treated incorrect if doesn't early recognized.
supersedes D33278, D35774

Differential Revision: https://reviews.llvm.org/D37412

llvm-svn: 314493
llvm/include/llvm/MC/MCParser/MCAsmParser.h
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp