[all-commits] [llvm/llvm-project] 947e19: [AMDGPU] Add SRAMECC on/off mode capability

Chinmay Deshpande via All-commits all-commits at lists.llvm.org
Tue Sep 22 15:14:46 PDT 2026


  Branch: refs/heads/users/chinmaydd/sramecc-on-off-modes
  Home:   https://github.com/llvm/llvm-project
  Commit: 947e19377a0bfed40a7d0195ac9fdbf1e6177b96
      https://github.com/llvm/llvm-project/commit/947e19377a0bfed40a7d0195ac9fdbf1e6177b96
  Author: Chinmay Deshpande <chdeshpa at amd.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M clang/lib/Basic/TargetID.cpp
    M clang/lib/Basic/Targets/AMDGPU.cpp
    M clang/test/CodeGenOpenCL/amdgpu-features-readonly.cl
    M clang/test/Driver/amdgpu-xnack-sramecc-flags.c
    M llvm/docs/AMDGPUUsage.rst
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
    M llvm/lib/Target/AMDGPU/GCNSubtarget.cpp
    M llvm/lib/TargetParser/AMDGPUTargetParser.cpp
    M llvm/test/MC/AMDGPU/amdgcn_target_directive_from_eflags.s
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [AMDGPU] Add SRAMECC on/off mode capability

Distinguish SRAMECC hardware support from selectable on/off modes, mirroring XNACK. Preserve selectable modes on existing targets and use the new capability for target-ID validation, defaults and printing, module flags, and disassembly.

Expose the generated frontend capability as read only and exclude it from serialized target features. Add parser, driver, frontend, and disassembler coverage and document module-flag behavior.

Change-Id: I9b212be27631106749fe54c3bd88a1c72a1fefc3
Validation: rebuilt Clang and LLVM tools; 30 AMDGPU TargetParser unit tests and 22 focused lit tests passed.



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