[ms-inline asm] Add support of imm displacement before bracketed memory
authorChad Rosier <mcrosier@apple.com>
Wed, 27 Mar 2013 21:49:56 +0000 (21:49 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 27 Mar 2013 21:49:56 +0000 (21:49 +0000)
commitdd40e8cd54805aa81c8548ac8c87755c562c1723
tree1b09110b1abbc56688c041d73c7fd9a5fc85534d
parentf25f93b685a6cb91d8370ae5dc1436a863a670d2
[ms-inline asm] Add support of imm displacement before bracketed memory
expression.  Specifically, this syntax:

 ImmDisp [ BaseReg + Scale*IndexReg + Disp ]

We don't currently support:

 ImmDisp [ Symbol ]

rdar://13518671

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178186 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp
test/MC/X86/x86-32-ms-inline-asm.s