[llvm-branch-commits] [clang] [HLSL] Introduce address space `hlsl_constant(2)` for constant buffer declarations (PR #123411)
Tex Riddell via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Jan 17 16:14:05 PST 2025
================
@@ -43,8 +43,8 @@ tbuffer B {
// AST-NEXT: FullComment
// AST-NEXT: ParagraphComment
// AST-NEXT: TextComment {{.*}} Text=" CBuffer decl."
-// AST-NEXT: VarDecl {{.*}} a 'float'
-// AST-NEXT: VarDecl {{.*}} b 'int'
+// AST-NEXT: VarDecl {{.*}} a 'hlsl_constant float'
+// AST-NEXT: VarDecl {{.*}} b 'hlsl_constant int'
----------------
tex3d wrote:
Might we want a different address space for tbuffer, potentially?
https://github.com/llvm/llvm-project/pull/123411
More information about the llvm-branch-commits
mailing list