[all-commits] [llvm/llvm-project] 150f39: [AArch64][llvm] Generate asm parser extension map ...

Jonathan Thackray via All-commits all-commits at lists.llvm.org
Wed Apr 29 06:23:46 PDT 2026


  Branch: refs/heads/users/jthackray/refactor_asmparser_from_tablegen
  Home:   https://github.com/llvm/llvm-project
  Commit: 150f39fe8a38669b255da3b580bac61ea6e75141
      https://github.com/llvm/llvm-project/commit/150f39fe8a38669b255da3b580bac61ea6e75141
  Author: Jonathan Thackray <jonathan.thackray at arm.com>
  Date:   2026-04-29 (Wed, 29 Apr 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    M llvm/utils/TableGen/Basic/ARMTargetDefEmitter.cpp

  Log Message:
  -----------
  [AArch64][llvm] Generate asm parser extension map from TableGen (NFC)

Modify ARMTargetDefEmitter to emit the assembly parser `ExtensionMap[]`
and replace the hand-written table in AArch64AsmParser.cpp with the
generated one.

Keep the assembly parser-only quirks in the emitter: the directive
denylist, the legacy primary spellings for `mte` and `compnum`, and the
extra bits needed for the `sve2-*` shorthand extensions.

This removes the duplicate manual table while preserving existing
directive parsing and required-feature diagnostics.


  Commit: 97d6d0b1f4ac86e906eb4bc32df8a68528b895da
      https://github.com/llvm/llvm-project/commit/97d6d0b1f4ac86e906eb4bc32df8a68528b895da
  Author: Jonathan Thackray <jonathan.thackray at arm.com>
  Date:   2026-04-29 (Wed, 29 Apr 2026)

  Changed paths:
    M llvm/utils/TableGen/Basic/ARMTargetDefEmitter.cpp

  Log Message:
  -----------
  fixup! Use SmallDenseSet<> for quick lookup


Compare: https://github.com/llvm/llvm-project/compare/e2460b8ff231...97d6d0b1f4ac

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