================
@@ -47,6 +50,95 @@ static Value *emitAMDGPUSBufferLoadBuiltin(CodeGenFunction
&CGF,
CGF.EmitScalarExpr(E->getArg(2))});
}
+constexpr char AMDGPUConstantSectionMarker[] =
+ "__clang_amdgpu_constant_section_marker";
+
+static llvm::GlobalVariable *
----------------
yxsamliu wrote:
Done. Factored this into a generic “pointer is inside named section” helper and
used it for `__amdgpu_constant`.
https://github.com/llvm/llvm-project/pull/209679
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits