[llvm] [RISCV][GISEL] Legalize and post-legalize lower G_INSERT_SUBVECTOR (PR #108859)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 20 06:28:38 PDT 2024


================
@@ -915,6 +928,150 @@ bool RISCVLegalizerInfo::legalizeSplatVector(MachineInstr &MI,
   return true;
 }
 
+/// Lowers G_INSERT_SUBVECTOR. We know we can lower it here since the legalizer
+/// marked it as legal.
----------------
tschuett wrote:

It is not marked legal. You marked it as custom.

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


More information about the llvm-commits mailing list