Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[AMDGPU][NFC] Remove duplicate features in gfx908/909/90a #137902

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2025

Conversation

mshockwave
Copy link
Member

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'

@llvmbot
Copy link
Member

llvmbot commented Apr 30, 2025

@llvm/pr-subscribers-backend-amdgpu

Author: Min-Yih Hsu (mshockwave)

Changes

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'

Full diff: https://github.com/llvm/llvm-project/pull/137902.diff

1 Files Affected:

  • (modified) llvm/lib/Target/AMDGPU/AMDGPU.td (+2-4)
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,

@mshockwave mshockwave merged commit a01a5b8 into llvm:main Apr 30, 2025
13 checks passed
@mshockwave mshockwave deleted the patch/amdgpu/gfx-duplicate-feature branch April 30, 2025 00:52
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
The new TableGen warning introduced in
llvm@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'
```
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
The new TableGen warning introduced in
llvm@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'
```
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
The new TableGen warning introduced in
llvm@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'
```
GeorgeARM pushed a commit to GeorgeARM/llvm-project that referenced this pull request May 7, 2025
The new TableGen warning introduced in
llvm@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'
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants