[clang] [HIP][Clang][CodeGen] Handle hip bin symbols properly. (PR #107458)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 10 09:24:53 PDT 2024


================
@@ -905,10 +907,10 @@ llvm::Function *CGNVCUDARuntime::makeModuleCtorFunction() {
     GpuBinaryHandle = new llvm::GlobalVariable(
         TheModule, PtrTy, /*isConstant=*/false, Linkage,
         /*Initializer=*/
-        CudaGpuBinary ? llvm::ConstantPointerNull::get(PtrTy) : nullptr,
----------------
yxsamliu wrote:

this line should not be changed

https://github.com/llvm/llvm-project/pull/107458


More information about the cfe-commits mailing list