[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:15 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),
----------------
tschuett wrote:
It should be `customIf` again.
https://github.com/llvm/llvm-project/pull/108859
More information about the llvm-commits
mailing list