search for: isr4includedincsi

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

Did you mean: islrincludedincsi
2015 Jan 11
3
[LLVMdev] [RFC] [PATCH] add tail call optimization to thumb1-only targets
...+ 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()); + + bool IsR4IncludedInCSI = false; + bool IsLRIncludedInCSI = false; + for (unsigned i = CSI.size(); i != 0; --i) { + unsigned Reg = CSI[i-1].getReg(); + if (Reg == ARM::R4) + IsR4IncludedInCSI = true; + if (Reg == ARM::LR) + IsLRIncludedInCSI = true; + } + + MachineFunction &MF...