[llvm] [AMDGPU] Expose LDS block and flat scratch features to TargetParser (PR #220717)
Krzysztof Drewniak via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 2 17:51:27 PDT 2026
================
@@ -494,10 +494,19 @@ StringRef AMDGPU::getCanonicalArchName(const Triple &T, StringRef Arch) {
// FIXME: This is hacky, we shouldn't have mismatches between the bitset and
// feature string map.
static const AMDGPUFeatureBitset FrontendOnlyFeatures = {
- FEAT_FAST_FMAF, FEAT_FAST_DENORMAL_F32, FEAT_SUPPORTS_WAVE32,
- FEAT_SUPPORTS_WGP, FEAT_XNACK_SUPPORT, FEAT_SRAMECC_SUPPORT,
- FEAT_XNACK_ON_OFF_MODES, FEAT_APERTURE_REGS, FEAT_GET_DOORBELL_ID,
- FEAT_AGPR_ALLOC, FEAT_1536_PHYSICAL_VGPRS};
+ FEAT_FAST_FMAF,
+ FEAT_FAST_DENORMAL_F32,
+ FEAT_SUPPORTS_WAVE32,
+ FEAT_SUPPORTS_WGP,
+ FEAT_XNACK_SUPPORT,
+ FEAT_SRAMECC_SUPPORT,
+ FEAT_XNACK_ON_OFF_MODES,
+ FEAT_APERTURE_REGS,
+ FEAT_GET_DOORBELL_ID,
+ FEAT_AGPR_ALLOC,
+ FEAT_1536_PHYSICAL_VGPRS,
+ FEAT_HALF_ADDRESSABLE_PHYSICAL_LOCAL_MEMORY,
+ FEAT_ARCHITECTED_FLAT_SCRATCH};
----------------
krzysz00 wrote:
... Do you actually have to add to this list?
https://github.com/llvm/llvm-project/pull/220717
More information about the llvm-commits
mailing list