Skip to content

Commit a01a5b8

Browse files
authored
[AMDGPU][NFC] Remove duplicate features in gfx908/909/90a (#137902)
The new TableGen warning introduced in 951292b 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' ```
1 parent efef83e commit a01a5b8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llvm/lib/Target/AMDGPU/AMDGPU.td

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,8 +1534,7 @@ def FeatureISAVersion9_Generic : FeatureSet<
15341534

15351535
def FeatureISAVersion9_0_MI_Common : FeatureSet<
15361536
!listconcat(FeatureISAVersion9_0_Common.Features,
1537-
[FeatureAddressableLocalMemorySize65536,
1538-
FeatureFmaMixInsts,
1537+
[FeatureFmaMixInsts,
15391538
FeatureDLInsts,
15401539
FeatureDot1Insts,
15411540
FeatureDot2Insts,
@@ -1585,8 +1584,7 @@ def FeatureISAVersion9_0_8 : FeatureSet<
15851584

15861585
def FeatureISAVersion9_0_9 : FeatureSet<
15871586
!listconcat(FeatureISAVersion9_0_Consumer_Common.Features,
1588-
[FeatureMadMixInsts,
1589-
FeatureImageInsts])>;
1587+
[FeatureMadMixInsts])>;
15901588

15911589
def FeatureISAVersion9_0_A : FeatureSet<
15921590
!listconcat(FeatureISAVersion9_0_MI_Common.Features,

0 commit comments

Comments
 (0)