[clang] [SPIR-V] Add hlsl_private address space for HLSL/SPIR-V (PR #122103)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 8 05:06:44 PST 2025
================
@@ -58,6 +58,7 @@ enum class LangAS : unsigned {
// HLSL specific address spaces.
hlsl_groupshared,
+ hlsl_private,
----------------
arsenm wrote:
> only SPIR-V will be using this for now
That's not really how languages work. It's a property of the language and exists independently of what any codegen is doing with it. As it is it sounds like you're jamming some knob you want for codegen through here that isn't part of the language.
This needs reference to some HLSL spec describing the address space without any mention of SPIRV.
https://github.com/llvm/llvm-project/pull/122103
More information about the cfe-commits
mailing list