[PATCH] D37461: [X86][AsmParser] re-introduce 'offset' operator

coby via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 03:27:34 PDT 2017


coby created this revision.

Amend MS offset operator implementation, to more closely fit with its MS counterpart:

1. InlineAsm: evaluate non-local source entities to their (address) location
2. Provide a mean with which one may acquire the address of an assembly label via MS syntax, rather than yielding a memory reference (i.e. "offset asm_label" and "$asm_label" should be synonymous
3. address PR32530


Repository:
  rL LLVM

https://reviews.llvm.org/D37461

Files:
  include/llvm/MC/MCParser/MCTargetAsmParser.h
  lib/MC/MCParser/AsmParser.cpp
  lib/Target/X86/AsmParser/X86AsmParser.cpp
  lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
  test/MC/X86/pr32530.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37461.113823.patch
Type: text/x-patch
Size: 18737 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170905/c5f62848/attachment.bin>


More information about the llvm-commits mailing list