[llvm-dev] Replace all memory access with registry access

Andreu Carminati via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 6 12:00:50 PST 2019


Hi,
There is a pass called mem2reg (Mem2Reg.cpp) which you can take a look. I
used this pass in a project
to reduce accesses to memory.

best,

Andreu

On Wed, Mar 6, 2019 at 2:44 PM Alberto Barbaro via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi all,
> Is there any way for converting any instruction that is loading or storing
> in memory into an instruction that just deal with registries?
>
> I'm not even sure if it is possible. Any suggestion?
>
> Thanks
> _______________________________________________
> 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/20190306/24581aaa/attachment.html>


More information about the llvm-dev mailing list