This patch enables the usage of constant Enum identifiers within Microsoft style inline assembly statements.
part 2 out of 2.
[D33277]
Differential D33278
[LLVM][x86][Inline Asm] - Enum support for MS syntax mharoush on May 17 2017, 7:27 AM. Authored by
Details
Diff Detail Event TimelineComment Actions Please consider using the monorepo to upload and submit this as a single patch.
Comment Actions Simplified the AsmRewrite condition in x86AsmParser. Some fixes to simplify the Intel State Machine immediate value rewrite treatment divergence.
Comment Actions simplified the rewrite condition of complex expressions and eliminated the need to use the ReplaceEnumIdentifier flag. This requires making small adjustments to some of the older test cases seen in [D33277]. Made some minor alterations and clarifications to satisfy reviewer comments.
|
Please group the booleans to reduce padding. Ideally, make this an enum something like:
This is smaller and prevents nonsense states.