[clang] [SPIR-V] Add hlsl_private address space for HLSL/SPIR-V (PR #122103)
Nathan Gauër via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 8 05:17:51 PST 2025
================
@@ -58,6 +58,7 @@ enum class LangAS : unsigned {
// HLSL specific address spaces.
hlsl_groupshared,
+ hlsl_private,
----------------
Keenuts wrote:
This being a small stepping stone for the larger change bringing hlsl_input/hlsl_output, I haven't wrote a specific HLSL spec part, only relied on current MSDN & HLSL implementations (I agree, not great).
For the `hlsl_input`/`hlsl_output` address spaces, here is the wg-hlsl proposal:
https://github.com/llvm/wg-hlsl/pull/97
But you are right, maybe that's something we should now write properly in the hlsl-spec repo
https://github.com/llvm/llvm-project/pull/122103
More information about the cfe-commits
mailing list