[clang] [clang-tools-extra] [CudaSPIRV] Allow using integral non-type template parameters as attribute args (PR #131546)
Shangwu Yao via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 17 07:34:20 PDT 2025
================
@@ -812,6 +838,12 @@ void Sema::InstantiateAttrs(const MultiLevelTemplateArgumentList &TemplateArgs,
continue;
}
+ if (const auto *ReqdWorkGroupSize =
+ dyn_cast<ReqdWorkGroupSizeAttr>(TmplAttr)) {
+ instantiateDependentReqdWorkGroupSizeAttr(*this, TemplateArgs,
----------------
ShangwuYao wrote:
Are there still checks at this point to see if the XDim, YDim and ZDim are valid?
https://github.com/llvm/llvm-project/pull/131546
More information about the cfe-commits
mailing list