[all-commits] [llvm/llvm-project] a92db5: [TableGen] Declare <TargetName>RegClassByHwModeTab...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Sun Sep 13 20:53:28 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a92db5feb9eb78ae7bf37d969391d9f94f181afb
      https://github.com/llvm/llvm-project/commit/a92db5feb9eb78ae7bf37d969391d9f94f181afb
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M llvm/test/TableGen/RegisterByHwMode.td
    M llvm/utils/TableGen/InstrInfoEmitter.cpp

  Log Message:
  -----------
  [TableGen] Declare <TargetName>RegClassByHwModeTables in MC header (#223292)

When a target uses RegClassByHwMode in CompressPat, the generated
functions reference <TargetName>RegClassByHwModeTables.

Declare it under GET_INSTRINFO_MC_HELPER_DECLS (<Target>MCTargetDesc.h)
so it is visible to MC-layer users such as RISCVBaseInfo.cpp.

Fixes: 700d1f029d00 ("[TableGen] Support RegClassByHwMode in
CompressPat")



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