[llvm] [DAGCombine] Add DAG optimisation for BF16_TO_FP (PR #69426)

Shao-Ce SUN via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 26 01:17:03 PST 2023


================
@@ -26161,6 +26165,8 @@ SDValue DAGCombiner::visitFP_TO_BF16(SDNode *N) {
   return SDValue();
 }
 
+SDValue DAGCombiner::visitBF16_TO_FP(SDNode *N) { return visitFP16_TO_FP(N); }
----------------
sunshaoce wrote:

Addressed. Thanks!

https://github.com/llvm/llvm-project/pull/69426


More information about the llvm-commits mailing list