[all-commits] [llvm/llvm-project] 621339: [AMDGPU] Remove BaseInfo duplicates of TargetParse...

Chinmay Deshpande via All-commits all-commits at lists.llvm.org
Sat Sep 26 19:24:57 PDT 2026


  Branch: refs/heads/users/chinmaydd/amdgpu-remove-baseinfo-duplicates
  Home:   https://github.com/llvm/llvm-project
  Commit: 621339c4eda45c96d6d5008d9f3a0f0626934a3f
      https://github.com/llvm/llvm-project/commit/621339c4eda45c96d6d5008d9f3a0f0626934a3f
  Author: Chinmay Deshpande <chdeshpa at amd.com>
  Date:   2026-09-26 (Sat, 26 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
    M llvm/lib/Target/AMDGPU/GCNSubtarget.cpp
    M llvm/lib/Target/AMDGPU/GCNSubtarget.h
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
    A llvm/test/MC/AMDGPU/elf-lds-size.s
    M llvm/tools/llvm-calc-occupancy/llvm-calc-occupancy.cpp

  Log Message:
  -----------
  [AMDGPU] Remove BaseInfo duplicates of TargetParser APIs

Use TargetParser for LDS sizes and VGPR hardware limits, retaining the
backend handling of dynamic VGPR allocation and architectural VGPRs on
targets with a unified register file.

Remove the TargetID factory wrapper and redundant type and SGPR constant
aliases. Update the subtarget, assembler, disassembler, target streamer,
and occupancy calculator callers.

Cover physical LDS allocation boundaries across GPU generations and
full/half-SIMD modes in the assembler tests.

Change-Id: Iacae35d939d8bc1d5d78ad9e545c6f1eb5cd38fe



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