[LLVMdev] How to allocate redundant stack slot?

Jim Grosbach grosbach at apple.com
Thu Nov 6 14:16:11 PST 2014


Hi Ray,

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.

-Jim

> On Nov 6, 2014, at 12:55 PM, Alex S <alexmountain13 at gmail.com> wrote:
> 
> Hi Philip,
> 
> I am sorry. It has nothing to do with GC. All I need is some stack slots that can
> checkpoint some register values to there. However, I am not sure how to do that
> correctly. Tim's idea inspire me a lot. I just wonder whether there is any way to
> make it easier.
> Thanks.
> 
> Ray
> 
> On Thu, Nov 6, 2014 at 1:57 PM, Philip Reames <listmail at philipreames.com <mailto:listmail at philipreames.com>> wrote:
> You're use of the term "checkpointing" caught my eye.  Are you trying to do something GC related?
> 
> Philip
> 
> 
> On 11/05/2014 06:57 PM, Alex S wrote:
>> Hi all,
>> 
>> Sorry to bother those not interested. I am a newbie to LLVM.
>> I have a problem on allocating additional stack slot for checkpointing.
>> However, I have no idea on how to allocate redundant stack slot in llvm.
>> 
>> Any suggestions?
>> 
>> Thanks,
>> Ray
>> 
>> 
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu>         http://llvm.cs.uiuc.edu <http://llvm.cs.uiuc.edu/>
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev <http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141106/8f2a8db3/attachment.html>


More information about the llvm-dev mailing list