[PATCH] D35774: [x86][inline-asm]Extend support for memory reference expression

coby via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 23 06:05:40 PDT 2017


coby created this revision.

Extend support for expressions which represent a variable access in ms-style inline-asm, to allow the incorporation of both registers and variables.
Currently, expression such as '//__asm mov eax, [var + eax]//'  would have been reduced to the (equivalent of)  '//__asm mov eax, [var + eax]//'
This patch amends it
clang counterpart:


Repository:
  rL LLVM

https://reviews.llvm.org/D35774

Files:
  include/llvm/MC/MCParser/MCAsmParser.h
  include/llvm/MC/MCParser/MCTargetAsmParser.h
  lib/MC/MCParser/AsmParser.cpp
  lib/Target/X86/AsmParser/X86AsmParser.cpp
  test/MC/X86/intel-syntax-error.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35774.107824.patch
Type: text/x-patch
Size: 16788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170723/03bac2b9/attachment.bin>


More information about the llvm-commits mailing list