llvm-project
llvm-project copied to clipboard
[X86AsmParser] IntelExpression: End of Statement should check for valid end state
The following commit bfb7099eeb9b6f62510b1db0cb93a8c3cfa68236 added a special case for End of Statement that doesn't check if the state machine is rightfully in a state where ending is valid.
This PR suggest to revert this change to make EndOfStatement
processed as any other tokens that are not consumable by the state machine.
Fixes https://github.com/llvm/llvm-project/issues/94446