[clang] [llvm] [AMDGPU] Fix monitor-sleep duration validation on GFX12.5 (PR #241042)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 10 17:54:21 PST 2026
================
@@ -181,6 +181,18 @@ bool AMDGPUTargetInfo::initFeatureMap(
return false;
}
+ // The target parser does not expose these backend features to Sema.
+ if (getTriple().isAMDGCN()) {
+ llvm::AMDGPU::GPUKind Kind =
+ CPU.empty() ? getGPUKindFromSubArch(getTriple().getSubArch())
+ : parseArchAMDGCN(CPU);
----------------
arsenm wrote:
Should never be parsing the arch
https://github.com/llvm/llvm-project/pull/241042
More information about the cfe-commits
mailing list