This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by epastor on Jul 7 2020, 2:36 PM.

Details

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.

Diff Detail

Event Timeline

epastor created this revision.Jul 7 2020, 2:36 PM
epastor updated this revision to Diff 276221.Jul 7 2020, 2:51 PM

Rebase on parent

thakis accepted this revision.Jul 11 2020, 7:24 PM
thakis added inline comments.
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
1660

sentence case

This revision is now accepted and ready to land.Jul 11 2020, 7:24 PM
This revision was automatically updated to reflect the committed changes.