Skip to content

Commit 98fa0f6

Browse files
committed
DAG: Handle vector splitting for fminnum_ieee/fmaxnum_ieee
Avoids regression in future commit which starts producing illegal instances.
1 parent 6a47315 commit 98fa0f6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,8 +1174,12 @@ void DAGTypeLegalizer::SplitVectorResult(SDNode *N, unsigned ResNo) {
11741174
case ISD::FADD: case ISD::VP_FADD:
11751175
case ISD::FSUB: case ISD::VP_FSUB:
11761176
case ISD::FMUL: case ISD::VP_FMUL:
1177-
case ISD::FMINNUM: case ISD::VP_FMINNUM:
1178-
case ISD::FMAXNUM: case ISD::VP_FMAXNUM:
1177+
case ISD::FMINNUM:
1178+
case ISD::FMINNUM_IEEE:
1179+
case ISD::VP_FMINNUM:
1180+
case ISD::FMAXNUM:
1181+
case ISD::FMAXNUM_IEEE:
1182+
case ISD::VP_FMAXNUM:
11791183
case ISD::FMINIMUM:
11801184
case ISD::VP_FMINIMUM:
11811185
case ISD::FMAXIMUM:

0 commit comments

Comments
 (0)