Teach LeaglizeDAG that i64 mul can be a libcall.

llvm-svn: 61463
This commit is contained in:
Scott Michel 2008-12-29 03:21:37 +00:00
parent befcb38427
commit 5bb7db3872

View File

@ -3281,6 +3281,8 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) {
case ISD::MUL:
if (VT == MVT::i32)
LC = RTLIB::MUL_I32;
else if (VT == MVT::i64)
LC = RTLIB::MUL_I64;
break;
case ISD::FPOW:
LC = GetFPLibCall(VT, RTLIB::POW_F32, RTLIB::POW_F64, RTLIB::POW_F80,