[llvm] [AMDGPU] Fix LDS reporting for targets without CU mode (PR #223587)
Chinmay Deshpande via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 14 19:57:04 PDT 2026
================
@@ -2528,7 +2528,9 @@ bool isGFX1250(const MCSubtargetInfo &STI) {
}
bool isFullSIMDMode(const MCSubtargetInfo &STI) {
- return isGFX1250(STI) || !STI.getFeatureBits().test(FeatureCuMode);
+ // CU mode is only meaningful on targets that have WGP mode. Elsewhere the
+ // feature may still be requested, but it has no effect.
+ return !supportsWGP(STI) || !STI.getFeatureBits().test(FeatureCuMode);
}
----------------
chinmaydd wrote:
```suggestion
```
https://github.com/llvm/llvm-project/pull/223587
More information about the llvm-commits
mailing list