search for: getcalleesavedinfo

Displaying 2 results from an estimated 2 matches for "getcalleesavedinfo".

2015 Jan 11
3
[LLVMdev] [RFC] [PATCH] add tail call optimization to thumb1-only targets
...ail call returns! + if ((MBBI != MBB.begin()) && (!IsTailCallReturn)) { do --MBBI; while (MBBI != MBB.begin() && isCSRestore(MBBI, CSRegs)); @@ -395,12 +402,119 @@ } } - bool IsV4PopReturn = false; - for (const CalleeSavedInfo &CSI : MFI->getCalleeSavedInfo()) + bool IsLRPartOfCalleeSavedInfo = false; + + for (const CalleeSavedInfo &CSI : MFI->getCalleeSavedInfo()) { if (CSI.getReg() == ARM::LR) - IsV4PopReturn = true; + IsLRPartOfCalleeSavedInfo = true; + } + + bool IsV4PopReturn = IsLRPartOfCalleeSavedInfo; IsV4PopRetur...
2016 Jun 24
2
Suggestion / Help regarding new calling convention
On Tue, Jun 21, 2016 at 12:31 AM, Matthias Braun <matze at braunis.de> wrote: > I just discussed this with vivek on IRC (and I think we agreed on this): > > Let me first state the motivation clearly to ease later discussions: > As far as the motivation for this change goes: Changing the calling > convention allows us to choose whether a register is saved by the callee or >