search for: islrpartofcalleesavedinfo

Displaying 1 result from an estimated 1 matches for "islrpartofcalleesavedinfo".

2015 Jan 11
3
[LLVMdev] [RFC] [PATCH] add tail call optimization to thumb1-only targets
...BI != 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; IsV4PopReturn &= STI.hasV4TOps() && !...