[llvm-commits] [llvm] r154039 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Pete Cooper
peter_cooper at apple.com
Wed Apr 4 12:36:31 PDT 2012
Author: pete
Date: Wed Apr 4 14:36:31 2012
New Revision: 154039
URL: http://llvm.org/viewvc/llvm-project?rev=154039&view=rev
Log:
f16 FREM can now be legalized by promoting to f32
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp?rev=154039&r1=154038&r2=154039&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Wed Apr 4 14:36:31 2012
@@ -3633,6 +3633,7 @@
break;
}
case ISD::FDIV:
+ case ISD::FREM:
case ISD::FPOW: {
Tmp1 = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(0));
Tmp2 = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(1));
More information about the llvm-commits
mailing list