search for: hasv5top

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

Did you mean: hasv5tops
2015 Jan 11
3
[LLVMdev] [RFC] [PATCH] add tail call optimization to thumb1-only targets
...alse; + + for (const CalleeSavedInfo &CSI : MFI->getCalleeSavedInfo()) { if (CSI.getReg() == ARM::LR) - IsV4PopReturn = true; + IsLRPartOfCalleeSavedInfo = true; + } + + bool IsV4PopReturn = IsLRPartOfCalleeSavedInfo; IsV4PopReturn &= STI.hasV4TOps() && !STI.hasV5TOps(); + if (IsTailCallReturn) { + MBBI = MBB.getLastNonDebugInstr(); + + // First restore callee saved registers. Unlike for normal returns + // this is *not* done in restoreCalleeSavedRegisters. + const std::vector<CalleeSavedInfo> &CSI(MFI->getCalleeSavedInfo()); + +...