Rework smrd_literal_offset as well.
@dp Ping.
This redefinition is unnecessary, 'let' would suffice.
Shouldn't this operand be optional?
Can you elaborate? I'm not sure I understand the suggestion.
Nope, isSMRDLiteralOffset() doesn't accept zeroes.
It looks like the code
AsmOperandClass ParserMatchClass = ImmOperandClass<name, optional>;
may be simplified as follows:
let ParserMatchClass = ImmOperandClass<name, optional>;
Oh I see, thanks.
The redefinition fixed.
LGTM