[all-commits] [llvm/llvm-project] b4ca8e: [AMDGPU][NFC] Add CuModeOnly feature

Mariusz Sikora via All-commits all-commits at lists.llvm.org
Tue Jun 2 07:41:46 PDT 2026


  Branch: refs/heads/users/mariusz-sikora-at-amd/add-cu-mode-only
  Home:   https://github.com/llvm/llvm-project
  Commit: b4ca8e625725d80c34f657886b0d8de3bc9d2005
      https://github.com/llvm/llvm-project/commit/b4ca8e625725d80c34f657886b0d8de3bc9d2005
  Author: Mariusz Sikora <mariusz.sikora at amd.com>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp

  Log Message:
  -----------
  [AMDGPU][NFC] Add CuModeOnly feature

Introduce a dedicated subtarget feature for targets that only support CU mode.
Use it instead of isGFX1250.

GFX13 can support both CU and WGP modes while still exposing GFX1250
instructions, so checking isGFX1250 is not specific enough for CU-mode-only
behavior.



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