[all-commits] [llvm/llvm-project] 9a1be3: AMDGPU: Handle more TargetParser queries in tablegen

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jul 27 14:54:52 PDT 2026


  Branch: refs/heads/users/arsenm/amdgpu/targetparser-table-lookups
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a1be3426dded8f42ecb29ad474ef95ecfa5144c
      https://github.com/llvm/llvm-project/commit/9a1be3426dded8f42ecb29ad474ef95ecfa5144c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-07-27 (Mon, 27 Jul 2026)

  Changed paths:
    M clang/lib/Basic/Targets/AMDGPU.cpp
    M llvm/include/llvm/TargetParser/AMDGPUTargetParser.h
    M llvm/lib/Target/AMDGPU/AMDGPUTargetParser.td
    M llvm/lib/Target/AMDGPU/GCNProcessors.td
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
    M llvm/lib/TargetParser/AMDGPUTargetParser.cpp
    M llvm/test/CodeGen/AMDGPU/hsa-default-device.ll
    M llvm/test/TableGen/AMDGPUTargetDefErrors.td
    M llvm/utils/TableGen/Basic/AMDGPUTargetDefEmitter.cpp

  Log Message:
  -----------
  AMDGPU: Handle more TargetParser queries in tablegen

Previously we had various enum switches. Start generated tables
indexed by enums. Avoid some special cases by defining the dummy
"generic" and "generic-hsa" targets as real processors.

Co-authored-by: Claude (Claude-Opus-4.8)



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