Ops.push_back(Tmp1); Ops.push_back(Tmp2); Ops.push_back(Tmp3);
Ops.push_back(Tmp4); Ops.push_back(Tmp5);
Result = DAG.getNode(Node->getOpcode(), MVT::Other, Ops);
- Result = TLI.LowerOperation(Result);
+ Result = TLI.LowerOperation(Result, DAG);
Result = LegalizeOp(Result);
break;
}
break; // This case is handled below.
case TargetLowering::Custom:
Source = DAG.getNode(ISD::SINT_TO_FP, DestTy, Source);
- return LegalizeOp(TLI.LowerOperation(Source));
+ return LegalizeOp(TLI.LowerOperation(Source, DAG));
}
// Expand the source, then glue it back together for the call. We must expand
return std::make_pair(DAG.getConstant(0, getPointerTy()), Chain);
}
-SDOperand TargetLowering::LowerOperation(SDOperand Op) {
+SDOperand TargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) {
assert(0 && "LowerOperation not implemented for this target!");
abort();
return SDOperand();