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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jul 28 13:15:26 PDT 2026


  Branch: refs/heads/users/arsenm/amdgpu/targetparser-table-lookups
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c22e51b9ff4fc3c5ba5f6bf4155428d96f1e375
      https://github.com/llvm/llvm-project/commit/0c22e51b9ff4fc3c5ba5f6bf4155428d96f1e375
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-07-28 (Tue, 28 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