================
@@ -6042,7 +6042,9 @@ void CodeGenModule::EmitGlobalVarDefinition(const VarDecl
*D,
getCUDARuntime().handleVarRegistration(D, *GV);
}
- if (LangOpts.HLSL && GetGlobalVarAddressSpace(D) == LangAS::hlsl_input) {
+ if (LangOpts.HLSL &&
+ (GetGlobalVarAddressSpace(D) == LangAS::hlsl_input ||
+ GetGlobalVarAddressSpace(D) == LangAS::hlsl_push_constant)) {
----------------
s-perron wrote:
Update the comment below.
https://github.com/llvm/llvm-project/pull/166793
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits