[llvm] [CodeExtractor] Allow to use 0 addr space for aggregate arg (PR #66998)
Dominik Adamski via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 28 01:17:36 PDT 2023
================
@@ -114,6 +114,11 @@ class CodeExtractorAnalysisCache {
// label, if non-empty, otherwise "extracted".
std::string Suffix;
+ // Optional value of alloca address space which should be used for
+ // allocation of structure which aggregates arguments. If empty, default
+ // alloca address space for given data layout is used.
----------------
DominikAdamski wrote:
The recent changes removed alloca in 0 address space. There is address space cast instruction to ensure, that the aggregate struct is passed as 0 address space pointer.
https://github.com/llvm/llvm-project/pull/66998
More information about the llvm-commits
mailing list