forked from OSchip/llvm-project
f16 FREM can now be legalized by promoting to f32
llvm-svn: 154039
This commit is contained in:
parent
9705c865d9
commit
8a3dc0ed8c
|
@ -3633,6 +3633,7 @@ void SelectionDAGLegalize::PromoteNode(SDNode *Node) {
|
|||
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));
|
||||
|
|
Loading…
Reference in New Issue