[llvm] edd615e - AMDGPU: Remove "gws" feature from generic targets (#148122)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Jul 11 00:07:21 PDT 2025
    
    
  
Author: Changpeng Fang
Date: 2025-07-11T00:07:18-07:00
New Revision: edd615eef216d2ef9a39c7d9ffd8b8c79852f091
URL: https://github.com/llvm/llvm-project/commit/edd615eef216d2ef9a39c7d9ffd8b8c79852f091
DIFF: https://github.com/llvm/llvm-project/commit/edd615eef216d2ef9a39c7d9ffd8b8c79852f091.diff
LOG: AMDGPU: Remove "gws" feature from generic targets (#148122)
Here "generic targets" means when no target is specified. This is
because gfx12+ does not support this feature, and thus it is no longer
universally available.
Fixes: SWDEV-541399
Added: 
    
Modified: 
    llvm/lib/Target/AMDGPU/GCNProcessors.td
Removed: 
    
################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/GCNProcessors.td b/llvm/lib/Target/AMDGPU/GCNProcessors.td
index b5ffa64c3a4b4..217942c7e539c 100644
--- a/llvm/lib/Target/AMDGPU/GCNProcessors.td
+++ b/llvm/lib/Target/AMDGPU/GCNProcessors.td
@@ -9,11 +9,11 @@
 // The code produced for "generic" is only useful for tests and cannot
 // reasonably be expected to execute on any particular target.
 def : ProcessorModel<"generic", NoSchedModel,
-  [FeatureGDS, FeatureGWS]
+  [FeatureGDS]
 >;
 
 def : ProcessorModel<"generic-hsa", NoSchedModel,
-  [FeatureGDS, FeatureGWS, FeatureFlatAddressSpace]
+  [FeatureGDS, FeatureFlatAddressSpace]
 >;
 
 //===------------------------------------------------------------===//
        
    
    
More information about the llvm-commits
mailing list