[llvm] [RISCV][GISel] Support select G_INSERT_VECTOR_ELT (PR #176687)
Jianjian Guan via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 23:39:26 PDT 2026
================
@@ -136,6 +138,45 @@ RISCVPostLegalizerCombinerImpl::RISCVPostLegalizerCombinerImpl(
{
}
+bool RISCVPostLegalizerCombinerImpl::tryCombineAll(MachineInstr &MI) const {
----------------
jacquesguan wrote:
This part is similar to `RISCVTargetLowering::PerformDAGCombine`. Since we can only match the pattern of no-group vector type for vmv.s, we should make sure that we only use M1 or smaller vector before selection. I think this is more like part of CodeGen.
https://github.com/llvm/llvm-project/pull/176687
More information about the llvm-commits
mailing list