[clang] [Clang][CodeGen] Start migrating away from assuming the Default AS is 0 (PR #88182)
Alex Voicu via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 9 16:26:00 PDT 2024
================
@@ -4551,6 +4554,7 @@ llvm::Constant *CodeGenModule::GetOrCreateLLVMFunction(
llvm::Function *F =
llvm::Function::Create(FTy, llvm::Function::ExternalLinkage,
+ getDataLayout().getProgramAddressSpace(),
----------------
AlexVlx wrote:
Whoops, that's a mistake, apologies. Fixed.
https://github.com/llvm/llvm-project/pull/88182
More information about the cfe-commits
mailing list