[llvm] [GISel][RISCV] Correctly handle scalable vector shuffles of pointer vectors in IRTranslator. (PR #106580)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 09:26:20 PDT 2024
================
@@ -1835,8 +1835,8 @@ void MachineVerifier::verifyPreISelGenericInstruction(const MachineInstr *MI) {
break;
}
- if (!SrcTy.isScalar()) {
- report("Source type must be a scalar", MI);
+ if (!SrcTy.isScalar() && !SrcTy.isPointer()) {
+ report("Source type must be a scalar or pointer", MI);
----------------
arsenm wrote:
Should test this in test/MachineVerifier
https://github.com/llvm/llvm-project/pull/106580
More information about the llvm-commits
mailing list