================
@@ -307,8 +307,8 @@ class AMDGPUTargetCodeGenInfo : public TargetCodeGenInfo {
LangAS getSRetAddrSpace(const CXXRecordDecl *RD) const override;
- LangAS getGlobalVarAddressSpace(CodeGenModule &CGM,
- const VarDecl *D) const override;
+ LangAS adjustGlobalVarAddressSpace(CodeGenModule &CGM, const VarDecl *D,
----------------
arsenm wrote:
I think mapping from LangAS -> LangAS is not the right thing. This is for
codegen, so it should return the IR address space
https://github.com/llvm/llvm-project/pull/195612
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits