[PATCH] D151563: [SelectionDAG] Implement soft FP legalisation for bf16 FP_EXTEND and BF16_TO_FP

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 08:42:40 PDT 2023


craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:110
     case ISD::FP16_TO_FP:  R = SoftenFloatRes_FP16_TO_FP(N); break;
+    case ISD::BF16_TO_FP:
+      R = SoftenFloatRes_BF16_TO_FP(N);
----------------
Format this like the others lines?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151563/new/

https://reviews.llvm.org/D151563



More information about the llvm-commits mailing list