[llvm] [RISCV] Remove SEW operand for load/store and SEW-aware pseudos (PR #90396)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 08:59:17 PDT 2024


================
@@ -2463,10 +2462,6 @@ bool RISCVInstrInfo::verifyInstruction(const MachineInstr &MI,
         return false;
       }
     }
-    if (!RISCVII::hasSEWOp(TSFlags)) {
----------------
michaelmaitland wrote:

Should we check `hasSEWOp && !hasVLOperand` that would throw an error SEW operand without VL operand.

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


More information about the llvm-commits mailing list