search for: ortailcalloptimization

Displaying 2 results from an estimated 2 matches for "ortailcalloptimization".

2007 Sep 25
0
[LLVMdev] RFC: Tail call optimization X86
...do code) > SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) { > SDOperand Result = Op; > ... > case ISD::CALL: > // The only option for this is to custom lower it. > > Result = > modifyCallSoThatTailAttributeReallyIndicatesWhetherThisCallIsEligibleF > orTailCallOptimization(Result); > > Tmp3 = TLI.LowerOperation(Result.getValue(0), DAG); > > } > > because any point after that (e.g. scheduling) would be to late > because the target specific loweringcode (e.g. LowerCALL -> > LowerCCCall) > _______________________________________________...
2007 Sep 25
2
[LLVMdev] RFC: Tail call optimization X86
...ult.getValue(0), DAG); } would change to (pseudo code) SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) { SDOperand Result = Op; ... case ISD::CALL: // The only option for this is to custom lower it. Result = modifyCallSoThatTailAttributeReallyIndicatesWhetherThisCallIsEligibleForTailCallOptimization(Result); Tmp3 = TLI.LowerOperation(Result.getValue(0), DAG); } because any point after that (e.g. scheduling) would be to late because the target specific loweringcode (e.g. LowerCALL -> LowerCCCall)