mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-03 02:31:26 +00:00
f16 FREM can now be legalized by promoting to f32
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154039 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e825fb3888
commit
9751b81fc9
@ -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…
x
Reference in New Issue
Block a user