[llvm] [RISCV] Add codegen support for ri.vinsert.v.x and ri.vextract.x.v (PR #136708)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 24 07:19:57 PDT 2025


================
@@ -9576,6 +9576,13 @@ getSmallestVTForIndex(MVT VecVT, unsigned MaxIdx, SDLoc DL, SelectionDAG &DAG,
   return SmallerVT;
 }
 
+static bool isValidInsertExtractIndex(SDValue Idx) {
----------------
lukel97 wrote:

Nit, name this something that explicitly mentions Visni?

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


More information about the llvm-commits mailing list