Add FMA to switch statement in VectorLegalizer::LegalizeOp so that it can be expanded when it isn't legal.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162894 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2012-08-30 07:34:22 +00:00
parent 3b9dfc9bf7
commit 6b1e1d8b3d

View File

@ -220,6 +220,7 @@ SDValue VectorLegalizer::LegalizeOp(SDValue Op) {
case ISD::FRINT: case ISD::FRINT:
case ISD::FNEARBYINT: case ISD::FNEARBYINT:
case ISD::FFLOOR: case ISD::FFLOOR:
case ISD::FMA:
case ISD::SIGN_EXTEND_INREG: case ISD::SIGN_EXTEND_INREG:
QueryType = Node->getValueType(0); QueryType = Node->getValueType(0);
break; break;