[llvm-commits] [llvm] r162894 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
Craig Topper
craig.topper at gmail.com
Thu Aug 30 00:34:22 PDT 2012
Author: ctopper
Date: Thu Aug 30 02:34:22 2012
New Revision: 162894
URL: http://llvm.org/viewvc/llvm-project?rev=162894&view=rev
Log:
Add FMA to switch statement in VectorLegalizer::LegalizeOp so that it can be expanded when it isn't legal.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp?rev=162894&r1=162893&r2=162894&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp Thu Aug 30 02:34:22 2012
@@ -220,6 +220,7 @@
case ISD::FRINT:
case ISD::FNEARBYINT:
case ISD::FFLOOR:
+ case ISD::FMA:
case ISD::SIGN_EXTEND_INREG:
QueryType = Node->getValueType(0);
break;
More information about the llvm-commits
mailing list