<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Ray,</div><div class=""><br class=""></div>PEI does something kinda like this for emergency spill slots, which are used by the register scavenger. You may find looking through how that works useful as a rough guide to what’s involved.<div class=""><br class=""></div><div class="">-Jim</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 6, 2014, at 12:55 PM, Alex S <<a href="mailto:alexmountain13@gmail.com" class="">alexmountain13@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Philip,<div class=""><br class=""></div><div class="">I am sorry. It has nothing to do with GC. All I need is some stack slots that can</div><div class="">checkpoint some register values to there. However, I am not sure how to do that</div><div class="">correctly. Tim's idea inspire me a lot. I just wonder whether there is any way to</div><div class="">make it easier.</div><div class="">Thanks.</div><div class=""><br class=""></div><div class="">Ray</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Nov 6, 2014 at 1:57 PM, Philip Reames <span dir="ltr" class=""><<a href="mailto:listmail@philipreames.com" target="_blank" class="">listmail@philipreames.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000" class="">
    You're use of the term "checkpointing" caught my eye.  Are you
    trying to do something GC related?<br class="">
    <br class="">
    Philip<div class=""><div class="h5"><br class="">
    <br class="">
    <div class="">On 11/05/2014 06:57 PM, Alex S wrote:<br class="">
    </div>
    </div></div><blockquote type="cite" class=""><div class=""><div class="h5">
      <div dir="ltr" class="">Hi all,
        <div class=""><br class="">
        </div>
        <div class="">Sorry to bother those not interested. I am a newbie to
          LLVM.</div>
        <div class="">I have a problem on allocating additional stack slot for
          checkpointing.</div>
        <div class="">However, I have no idea on how to allocate redundant stack
          slot in llvm.</div>
        <div class=""><br class="">
        </div>
        <div class="">Any suggestions?</div>
        <div class=""><br class="">
        </div>
        <div class="">Thanks,</div>
        <div class="">Ray</div>
      </div>
      <br class="">
      <fieldset class=""></fieldset>
      <br class="">
      </div></div><pre class="">_______________________________________________
LLVM Developers mailing list
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank" class="">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu/" target="_blank" class="">http://llvm.cs.uiuc.edu</a>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank" class="">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
    </blockquote>
    <br class="">
  </div>

</blockquote></div><br class=""></div>
_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:LLVMdev@cs.uiuc.edu" class="">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" class="">http://llvm.cs.uiuc.edu</a><br class=""><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" class="">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br class=""></div></blockquote></div><br class=""></div></body></html>