[llvm] [ARM][SDAG] Half promote llvm.lrint nodes. (PR #161088)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 3 13:20:38 PDT 2025


================
@@ -3740,7 +3740,10 @@ bool DAGTypeLegalizer::SoftPromoteHalfOperand(SDNode *N, unsigned OpNo) {
   case ISD::STRICT_FP_TO_SINT:
   case ISD::STRICT_FP_TO_UINT:
   case ISD::FP_TO_SINT:
-  case ISD::FP_TO_UINT: Res = SoftPromoteHalfOp_FP_TO_XINT(N); break;
+  case ISD::FP_TO_UINT:
+  case ISD::LRINT:
----------------
efriedma-quic wrote:

Also handle llvm.llrint while you're here?

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


More information about the llvm-commits mailing list