Andrew Trick
2014-Mar-27 22:10 UTC
[LLVMdev] PR19267 - Add a feature to clobber non-calle-save regs in the prolog.
This is a feature I’m considering for the LLVM backend. Feel free to provide input in the following PR. llvm.org/pr19267 - Add a feature to clobber non-callee-save regs in the prolog. I’m copying llvm-dev because it seems like something that others must have already done or at least thought about at some point. -Andy
Philip Reames
2014-Mar-27 23:15 UTC
[LLVMdev] PR19267 - Add a feature to clobber non-calle-save regs in the prolog.
Sounds like it could be useful for debugging purposes. If you implement it, I'd turn it on for some of our local verification runs. Finding runtime calling convention bugs cheaply is always nice. :) Philip On 03/27/2014 03:10 PM, Andrew Trick wrote:> This is a feature I’m considering for the LLVM backend. Feel free to provide input in the following PR. > > llvm.org/pr19267 - Add a feature to clobber non-callee-save regs in the prolog. > > I’m copying llvm-dev because it seems like something that others must have already done or at least thought about at some point. > > -Andy > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Hal Finkel
2014-Mar-27 23:20 UTC
[LLVMdev] PR19267 - Add a feature to clobber non-calle-save regs in the prolog.
----- Original Message -----> From: "Philip Reames" <listmail at philipreames.com> > To: "Andrew Trick" <atrick at apple.com>, "llvmdev at cs.uiuc.edu Dev" <llvmdev at cs.uiuc.edu> > Sent: Thursday, March 27, 2014 6:15:01 PM > Subject: Re: [LLVMdev] PR19267 - Add a feature to clobber non-calle-save regs in the prolog. > > Sounds like it could be useful for debugging purposes. > > If you implement it, I'd turn it on for some of our local > verification > runs. Finding runtime calling convention bugs cheaply is always > nice. :)+1 -Hal> > Philip > > On 03/27/2014 03:10 PM, Andrew Trick wrote: > > This is a feature I’m considering for the LLVM backend. Feel free > > to provide input in the following PR. > > > > llvm.org/pr19267 - Add a feature to clobber non-callee-save regs in > > the prolog. > > > > I’m copying llvm-dev because it seems like something that others > > must have already done or at least thought about at some point. > > > > -Andy > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > 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 >-- Hal Finkel Assistant Computational Scientist Leadership Computing Facility Argonne National Laboratory
Possibly Parallel Threads
- [RFC][AArch64] Homogeneous Prolog and Epilog for Size Optimization
- [RFC][AArch64] Homogeneous Prolog and Epilog for Size Optimization
- Question about Prolog/Epilog Code Insertion
- [LLVMdev] Injecting code before function prolog
- variadic functions on X86_64 should (conditionally) save XMM regs even if -no-implicit-float