Displaying 1 result from an estimated 1 matches for "visitcallpoint".
2011 Nov 23
0
[LLVMdev] GC plugin: Not add (postcall) safe point after tail-call
...n(),
BBE = MF.end(); BBI != BBE;
++BBI)
for (MachineBasicBlock::iterator MI = BBI->begin(),
ME = BBI->end(); MI !=
ME; ++MI)
if (MI->getDesc().isCall() && !isTailCall(MI))
VisitCallPoint(FI, MI);
return false;
}
using Nicolas' patch [1] and his code in VMkit as a template [2].
My problem is that I am not sure how i should define the "isTailCall"
function in order to be target-independent. Any advice is welcome!
Thank you in advance,
Yiannis
[1]:
https://group...