[clang] [llvm] [RISCV][LLVM][Clang] Add experimental `Zvvm` config intrinsics (PR #203774)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 14 09:57:42 PDT 2026


================
@@ -11738,6 +12000,10 @@ SDValue RISCVTargetLowering::LowerINTRINSIC_WO_CHAIN(SDValue Op,
   }
   case Intrinsic::experimental_get_vector_length:
     return lowerGetVectorLength(Op.getNode(), DAG, Subtarget);
+  case Intrinsic::riscv_ime_vlen:
----------------
topperc wrote:

Can we just use the vscale intrinsic and RISVC::RVVBitsPerBlock?

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


More information about the cfe-commits mailing list