[clang] AMDGPU: Remove "gws" from the “read-only” target feature list (PR #148141)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 11 08:42:24 PDT 2025


================
@@ -266,7 +266,7 @@ AMDGPUTargetInfo::AMDGPUTargetInfo(const llvm::Triple &Triple,
 
   MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 64;
   CUMode = !(GPUFeatures & llvm::AMDGPU::FEATURE_WGP);
-  for (auto F : {"image-insts", "gws", "vmem-to-lds-load-insts"})
+  for (auto F : {"image-insts", "vmem-to-lds-load-insts"})
     ReadOnlyFeatures.insert(F);
----------------
shiltian wrote:

What does this `ReadOnlyFeatures` do?

https://github.com/llvm/llvm-project/pull/148141


More information about the cfe-commits mailing list