[clang] [llvm] [HLSL] AST support for WaveSize attribute. (PR #101240)
Joshua Batista via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 7 11:04:39 PDT 2024
================
@@ -2862,6 +2862,10 @@ static bool mergeDeclAttribute(Sema &S, NamedDecl *D,
else if (const auto *NT = dyn_cast<HLSLNumThreadsAttr>(Attr))
NewAttr = S.HLSL().mergeNumThreadsAttr(D, *NT, NT->getX(), NT->getY(),
NT->getZ());
+ else if (const auto *NT = dyn_cast<HLSLWaveSizeAttr>(Attr))
----------------
bob80905 wrote:
WS or WSA instead of `NT`
https://github.com/llvm/llvm-project/pull/101240
More information about the cfe-commits
mailing list