[all-commits] [llvm/llvm-project] 8baef4: [NFCI][AMDGPU] Convert more `SubtargetFeatures` to...

Shilei Tian via All-commits all-commits at lists.llvm.org
Wed Jan 21 14:06:06 PST 2026


  Branch: refs/heads/users/shiltian/improve-feature-handling-by-renaming
  Home:   https://github.com/llvm/llvm-project
  Commit: 8baef409f0ec299737ad671e6397d29e68c6c201
      https://github.com/llvm/llvm-project/commit/8baef409f0ec299737ad671e6397d29e68c6c201
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2026-01-21 (Wed, 21 Jan 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUFeatures.td
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/GCNSubtarget.h
    M llvm/lib/Target/AMDGPU/R600Subtarget.h

  Log Message:
  -----------
  [NFCI][AMDGPU] Convert more `SubtargetFeatures` to use `AMDGPUSubtargetFeature` and X-macros

Extend the X-macro pattern to eliminate boilerplate for additional subtarget features.

This reduces ~50 lines of repetitive member declarations and getter definitions.



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