[llvm-branch-commits] [clang] [HLSL] Introduce address space `hlsl_constant(2)` for constant buffer declarations (PR #123411)
Helena Kotas via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 21 10:54:30 PST 2025
================
@@ -42,6 +42,7 @@ static const unsigned DirectXAddrSpaceMap[] = {
0, // ptr32_uptr
0, // ptr64
3, // hlsl_groupshared
+ 2, // hlsl_constant
----------------
hekota wrote:
Yes, not updating all of the maps produces a compile error.
https://github.com/llvm/llvm-project/pull/123411
More information about the llvm-branch-commits
mailing list