[clang] [clang][CodeGen] `sret` args should always point to the `alloca` AS, so use that (PR #114062)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 6 00:23:48 PST 2025
================
@@ -49,6 +49,8 @@ class ABIInfo {
CodeGen::CodeGenTypes &CGT;
llvm::CallingConv::ID RuntimeCC;
+ unsigned getTargetDefaultAS() const;
----------------
arsenm wrote:
I don't really like this as a helper, it's not really expressing any new target concept. It's still just querying what do use for the Default LangAS
https://github.com/llvm/llvm-project/pull/114062
More information about the cfe-commits
mailing list