[clang] [llvm] [HLSL] AST support for WaveSize attribute. (PR #101240)
Chris B via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 30 17:25:45 PDT 2024
================
@@ -245,6 +274,18 @@ void SemaHLSL::CheckEntryPoint(FunctionDecl *FD) {
<< llvm::Triple::getEnvironmentTypeName(ST);
FD->setInvalidDecl();
}
+ if (const auto *NT = FD->getAttr<HLSLWaveSizeAttr>()) {
----------------
llvm-beanz wrote:
Why is NT the name here? That doesn't seem to make sense with the context of what you're assigning.
https://github.com/llvm/llvm-project/pull/101240
More information about the llvm-commits
mailing list