We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9becf6f commit 6b80051Copy full SHA for 6b80051
llvm/lib/CodeGen/MachineVerifier.cpp
@@ -1739,7 +1739,7 @@ void MachineVerifier::verifyPreISelGenericInstruction(const MachineInstr *MI) {
1739
}
1740
1741
if (IndexOp.getImm() != 0 &&
1742
- Src1Ty.getElementCount().getKnownMinValue() % IndexOp.getImm() != 0) {
+ IndexOp.getImm() % Src1Ty.getElementCount().getKnownMinValue() != 0) {
1743
report("Index must be a multiple of the second source vector's "
1744
"minimum vector length",
1745
MI);
0 commit comments