[llvm] [GISEL] Fix bugs in G_EXTRACT_SUBVECTOR definition (PR #108848)
Thorsten Schütt via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 16 13:56:45 PDT 2024
================
@@ -1778,10 +1778,9 @@ void MachineVerifier::verifyPreISelGenericInstruction(const MachineInstr *MI) {
break;
}
- if (IndexOp.getImm() != 0 &&
- SrcTy.getElementCount().getKnownMinValue() % IndexOp.getImm() != 0) {
- report("Index must be a multiple of the source vector's minimum vector "
- "length",
+ if (IndexOp.getImm() % DstTy.getElementCount().getKnownMinValue() != 0) {
----------------
tschuett wrote:
`mixed` is currently not documented/supported in GlobalIsel.
https://github.com/llvm/llvm-project/pull/108848
More information about the llvm-commits
mailing list