[all-commits] [llvm/llvm-project] 25752a: [X86AsmParser] IntelExpression: End of Statement s...

v01dXYZ via All-commits all-commits at lists.llvm.org
Mon Jul 15 18:30:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25752a40b8b224e3695edd506f304866f065ca9a
      https://github.com/llvm/llvm-project/commit/25752a40b8b224e3695edd506f304866f065ca9a
  Author: v01dXYZ <14996868+v01dXYZ at users.noreply.github.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
    A llvm/test/MC/X86/intel-syntax-expr.s

  Log Message:
  -----------
  [X86AsmParser] IntelExpression: End of Statement should check for valid end state (#95677)

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

---------

Co-authored-by: v01dxyz <v01dxyz at v01d.xyz>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list