[ms-inline asm] Create a helper function, CreateMemForInlineAsm, that creates
authorChad Rosier <mcrosier@apple.com>
Tue, 19 Mar 2013 21:11:56 +0000 (21:11 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 19 Mar 2013 21:11:56 +0000 (21:11 +0000)
commitd3e7416de7f4aae708a5cc57a9fcc75ad43e1e96
tree7eb9dbf3bfdc818155ea16827f288f72c8df9fd6
parent18764716861243c58a711a92190624dc2f6aafc9
[ms-inline asm] Create a helper function, CreateMemForInlineAsm, that creates
an X86Operand, but also performs a Sema lookup and adds the sizing directive
when appropriate.  Use this when parsing a bracketed statement.  This is
necessary to get the instruction matching correct as well.  Test case coming
on clang side.
rdar://13455408

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177439 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp