File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
llvm/lib/CodeGen/SelectionDAG Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -546,6 +546,7 @@ namespace {
546
546
SDValue visitFP_TO_FP16(SDNode *N);
547
547
SDValue visitFP16_TO_FP(SDNode *N);
548
548
SDValue visitFP_TO_BF16(SDNode *N);
549
+ SDValue visitBF16_TO_FP(SDNode *N);
549
550
SDValue visitVECREDUCE(SDNode *N);
550
551
SDValue visitVPOp(SDNode *N);
551
552
SDValue visitGET_FPENV_MEM(SDNode *N);
@@ -2048,7 +2049,7 @@ SDValue DAGCombiner::visit(SDNode *N) {
2048
2049
case ISD::FP_TO_FP16: return visitFP_TO_FP16(N);
2049
2050
case ISD::FP16_TO_FP: return visitFP16_TO_FP(N);
2050
2051
case ISD::FP_TO_BF16: return visitFP_TO_BF16(N);
2051
- case ISD::BF16_TO_FP: return visitFP16_TO_FP (N);
2052
+ case ISD::BF16_TO_FP: return visitBF16_TO_FP (N);
2052
2053
case ISD::FREEZE: return visitFREEZE(N);
2053
2054
case ISD::GET_FPENV_MEM: return visitGET_FPENV_MEM(N);
2054
2055
case ISD::SET_FPENV_MEM: return visitSET_FPENV_MEM(N);
@@ -26164,6 +26165,8 @@ SDValue DAGCombiner::visitFP_TO_BF16(SDNode *N) {
26164
26165
return SDValue();
26165
26166
}
26166
26167
26168
+ SDValue DAGCombiner::visitBF16_TO_FP(SDNode *N) { return visitFP16_TO_FP(N); }
26169
+
26167
26170
SDValue DAGCombiner::visitVECREDUCE(SDNode *N) {
26168
26171
SDValue N0 = N->getOperand(0);
26169
26172
EVT VT = N0.getValueType();
You can’t perform that action at this time.
0 commit comments