[llvm] [ISel/RISCV] Fix fixed-vector [l]lrint lowering (PR #145898)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 30 03:03:42 PDT 2025


================
@@ -3202,7 +3203,14 @@ static RISCVFPRndMode::RoundingMode matchRoundingOp(unsigned Opc) {
   case ISD::VP_FROUND:
     return RISCVFPRndMode::RMM;
   case ISD::FRINT:
+  case ISD::LRINT:
+  case ISD::LLRINT:
+  case ISD::STRICT_FRINT:
+  case ISD::STRICT_LRINT:
+  case ISD::STRICT_LLRINT:
----------------
lukel97 wrote:

Just checking, we don't have tests for the constrained intrinsics? Not that we need to handle them in this pr, just making a note

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


More information about the llvm-commits mailing list