[llvm-dev] register spilling and printing live variables
Hiroshi Yamauchi via llvm-dev
llvm-dev at lists.llvm.org
Fri Oct 25 09:11:02 PDT 2019
I don't have an answer, but if you can share your test case, it may help.
On Thu, Oct 24, 2019 at 11:10 PM Priyanka Panigrahi via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hello,
>
> I have studied register allocation in theoretical aspects and exploring
> the same in the implementation level.
>
> I need a minimal testcase for register spilling to analyze spilling
> procedure in llvm. I tried with a testcase taking 20 variables but all the
> 20 variables are getting stored in the stack using %rbp. Maybe my live
> variable analysis is wrong. Please help me with a minimal testcase to
> explore register spilling in llvm,
>
> Is there any way to print the maximum live variables in source code. So
> that we can find out the minimum registers required for execution. Also, is
> it possible to print the register map of each variable in source code.
>
> Any help would be appreciated.
> Thank you in advance.
>
> Regards,
> Priyanka
> _______________________________________________
> 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/20191025/77652834/attachment.html>
More information about the llvm-dev
mailing list