[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
Tue Jan 7 04:17:59 PST 2025


================
@@ -49,6 +49,8 @@ class ABIInfo {
   CodeGen::CodeGenTypes &CGT;
   llvm::CallingConv::ID RuntimeCC;
 
+  unsigned getTargetDefaultAS() const;
----------------
arsenm wrote:

I'm fine with the getContext().get.... 

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


More information about the cfe-commits mailing list