[llvm-dev] If there are some passes in LLVM do the opposite of the SROA(Scalar Replacement of Aggregates) pass

Victor Campos via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 27 12:35:20 PST 2019


Hi Lin-Ya,

maybe reg2mem is what you're looking for?

Regards,
Victor.

On Thu, Feb 21, 2019 at 4:35 PM Lin-Ya Yu via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

>
> Hi LLVM developers,
>
> We tried to find if there are some passes in LLVM do the opposite of the
> SROA(Scalar Replacement of Aggregates) pass, but did not find one. Do we
> have this kind of pass to bring back the structure type?  Or this is done
> separately in any transformation passes?
>
> Thanks,
> Lin-Ya
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190227/f0bd45a3/attachment.html>


More information about the llvm-dev mailing list