[llvm] [RISCV][GISEL] Legalize G_INSERT_SUBVECTOR (PR #108859)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 20 07:11:04 PDT 2024


================
@@ -581,6 +581,12 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST)
 
   SplatActions.clampScalar(1, sXLen, sXLen);
 
+  getActionDefinitionsBuilder(G_INSERT_SUBVECTOR)
+      .legalIf(all(typeIsLegalBoolVec(0, BoolVecTys, ST),
----------------
michaelmaitland wrote:

I don't know how my change didn't get added once again. Im sorry.

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


More information about the llvm-commits mailing list