[all-commits] [llvm/llvm-project] 2b2863: [AMDGPU][NFC] Allow selected generic features on a...

Chinmay Deshpande via All-commits all-commits at lists.llvm.org
Mon Sep 14 14:36:16 PDT 2026


  Branch: refs/heads/users/chinmaydd/generic-target-num
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b28636f2c90a759f6e5d5799b3ce399757ffd17
      https://github.com/llvm/llvm-project/commit/2b28636f2c90a759f6e5d5799b3ce399757ffd17
  Author: Chinmay Deshpande <chdeshpa at amd.com>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetParser.td
    M llvm/test/TableGen/AMDGPUTargetDefErrors.td
    A llvm/test/TableGen/AMDGPUTargetDefGenericFeatures.td
    M llvm/utils/TableGen/Basic/AMDGPUTargetDefEmitter.cpp

  Log Message:
  -----------
  [AMDGPU][NFC] Allow selected generic features on any covered GPU

Add AMDGPUGenericAnyFeature so individual feature classes can require
support from at least one covered GPU. Check explicitly marked features
even when they are not frontend-visible, while retaining the all-member
check for ordinary frontend-visible features.

Follow implied features using their own validation rules. Require named
generic targets to cover at least one concrete AMDGPU GPU, rejecting self
references, other generic targets, pseudo targets, and invalid members.

Cover partial support, missing support, exact numeric-feature membership,
backend-only features, implications, and malformed coverage lists with
TableGen tests. Generated target definitions remain unchanged.



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