HomePhabricator

[ms] [llvm-ml] Add support for attempted register parsing
Audit Required8d5bf0422bc3

Authored by epastor on Feb 11 2020, 6:18 AM.

Description

[ms] [llvm-ml] Add support for attempted register parsing

Summary:
Add a new method (tryParseRegister) that attempts to parse a register specification.

MASM allows the use of IFDEF <register>, as well as IFDEF <symbol>. To accommodate this, we make it possible to check whether a register specification can be parsed at the current location, without failing the entire parse if it can't.

Reviewers: thakis

Reviewed By: thakis

Tags: #llvm

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

Details

Auditors
grosbach
Committed
epastorFeb 11 2020, 7:45 AM
Reviewer
thakis
Differential Revision
D73486: [ms] [llvm-ml] Add support for attempted register parsing
Parents
rG0311e28e9cc0: [SystemZ] Bugfix in emitSelect()
Branches
Unknown
Tags
Unknown