[all-commits] [llvm/llvm-project] f08e8b: [ms] [llvm-ml] Add support for MASM STRUCT casting...

Eric Astor via All-commits all-commits at lists.llvm.org
Mon Jul 13 07:41:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f08e8b6d7c46334ff8aa37cf8e473aa405e4fa93
      https://github.com/llvm/llvm-project/commit/f08e8b6d7c46334ff8aa37cf8e473aa405e4fa93
  Author: Eric Astor <epastor at google.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
    M llvm/test/tools/llvm-ml/struct.test

  Log Message:
  -----------
  [ms] [llvm-ml] Add support for MASM STRUCT casting field accessors: (<TYPE> PTR <value>).<field>

Summary:
Add support for MASM STRUCT casting field accessors: (<TYPE> PTR <value>).<field>

Since these are operands, we add them to X86AsmParser. If/when we extend MASM support to other architectures (e.g., ARM), we will need similar changes there as well.

Reviewed By: thakis

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




More information about the All-commits mailing list