[llvm] DAG: Fix chain mismanagement in SoftenFloatRes_FP_EXTEND (PR #74406)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 03:59:08 PST 2023


================
@@ -1804,6 +1816,7 @@ bool DAGTypeLegalizer::PromoteIntegerOperand(SDNode *N, unsigned OpNo) {
   case ISD::FP16_TO_FP:
   case ISD::VP_UINT_TO_FP:
   case ISD::UINT_TO_FP:   Res = PromoteIntOp_UINT_TO_FP(N); break;
+  case ISD::STRICT_FP16_TO_FP:
----------------
RKSimon wrote:

This just doesn't look goo imo. Why not add PromoteIntOp_STRICT_FP16_TO_FP? Or rename PromoteIntOp_STRICT_UINT_TO_FP?

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


More information about the llvm-commits mailing list