[llvm] [VP][RISCV] Introduce vp.lrint/llrint and RISC-V support. (PR #82627)

Yeting Kuo via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 19:24:11 PST 2024


================
@@ -5690,6 +5691,9 @@ static unsigned getRISCVVLOp(SDValue Op) {
   switch (Op.getOpcode()) {
   default:
     llvm_unreachable("don't have RISC-V specified VL op for this SDNode");
+  case ISD::VP_LRINT:
+  case ISD::VP_LLRINT:
+    return RISCVISD::VFCVT_X_F_VL;
----------------
yetingk wrote:

Done.

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


More information about the llvm-commits mailing list