[llvm] a01a5b8 - [AMDGPU][NFC] Remove duplicate features in gfx908/909/90a (#137902)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 29 17:52:38 PDT 2025
Author: Min-Yih Hsu
Date: 2025-04-29T17:52:35-07:00
New Revision: a01a5b82dc89d427eada7f3b4d2f3e42ef50ae91
URL: https://github.com/llvm/llvm-project/commit/a01a5b82dc89d427eada7f3b4d2f3e42ef50ae91
DIFF: https://github.com/llvm/llvm-project/commit/a01a5b82dc89d427eada7f3b4d2f3e42ef50ae91.diff
LOG: [AMDGPU][NFC] Remove duplicate features in gfx908/909/90a (#137902)
The new TableGen warning introduced in
https://github.com/llvm/llvm-project/commit/951292be2c21bc903e63729338d872a878d2d49c
shows the following warnings:
```
warning: Processor gfx908 contains duplicate feature 'addressablelocalmemorysize65536'
warning: Processor gfx909 contains duplicate feature 'image-insts'
warning: Processor gfx90a contains duplicate feature 'addressablelocalmemorysize65536'
```
Added:
Modified:
llvm/lib/Target/AMDGPU/AMDGPU.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/AMDGPU.td b/llvm/lib/Target/AMDGPU/AMDGPU.td
index d896589825fc7..764a7a9bf5e52 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPU.td
+++ b/llvm/lib/Target/AMDGPU/AMDGPU.td
@@ -1534,8 +1534,7 @@ def FeatureISAVersion9_Generic : FeatureSet<
def FeatureISAVersion9_0_MI_Common : FeatureSet<
!listconcat(FeatureISAVersion9_0_Common.Features,
- [FeatureAddressableLocalMemorySize65536,
- FeatureFmaMixInsts,
+ [FeatureFmaMixInsts,
FeatureDLInsts,
FeatureDot1Insts,
FeatureDot2Insts,
@@ -1585,8 +1584,7 @@ def FeatureISAVersion9_0_8 : FeatureSet<
def FeatureISAVersion9_0_9 : FeatureSet<
!listconcat(FeatureISAVersion9_0_Consumer_Common.Features,
- [FeatureMadMixInsts,
- FeatureImageInsts])>;
+ [FeatureMadMixInsts])>;
def FeatureISAVersion9_0_A : FeatureSet<
!listconcat(FeatureISAVersion9_0_MI_Common.Features,
More information about the llvm-commits
mailing list