<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I don't have an answer, but if you can share your test case, it may help.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 24, 2019 at 11:10 PM Priyanka Panigrahi via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>I have studied register allocation in theoretical aspects and exploring the same in the implementation level.<br></div><div><br></div><div>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, <br></div><div><br></div><div>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.<br></div><div><br></div><div>Any help would be appreciated.</div><div>Thank you in advance.<br></div><div><br></div><div>Regards,</div><div>Priyanka<br></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>