[clang] [clang][CodeGen] `sret` args should always point to the `alloca` AS, so use that (PR #114062)
Alex Voicu via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 6 05:41:20 PST 2025
================
@@ -49,6 +49,8 @@ class ABIInfo {
CodeGen::CodeGenTypes &CGT;
llvm::CallingConv::ID RuntimeCC;
+ unsigned getTargetDefaultAS() const;
----------------
AlexVlx wrote:
Sure, but I couldn't quite figure out any other convenient, accessible, non-intrusive place to stash this; the alternative is to keep the spammy calls to `getContext().bla`, as per the prior iteration. I'm open to suggestions though, if you have something in mind?
https://github.com/llvm/llvm-project/pull/114062
More information about the cfe-commits
mailing list