Displaying 1 result from an estimated 1 matches for "istailcallreturn".
2015 Jan 11
3
[LLVMdev] [RFC] [PATCH] add tail call optimization to thumb1-only targets
...ert epilog into returning blocks");
+ MBBI->getOpcode() == ARM::tPOP_RET ||
+ MBBI->getOpcode() == ARM::TCRETURNri)
+ && "Can only insert epilog into returning blocks "
+ "and tail calls with address in regs.");
+
+ bool IsTailCallReturn = false;
+ if (MBBI->getOpcode() == ARM::TCRETURNri)
+ IsTailCallReturn = true;
+
DebugLoc dl = MBBI->getDebugLoc();
MachineFrameInfo *MFI = MF.getFrameInfo();
ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>();
@@ -351,8 +358,8 @@
if (NumBytes - ArgRegsSaveSize != 0)...