llvm-project
82459ecf - [RISCV] Split OPERAND_SEW operand type for mask only instructions. (#119776)

Commit
290 days ago
[RISCV] Split OPERAND_SEW operand type for mask only instructions. (#119776) Mask only instructions like vmand and vmsbf should always have 0 for their Log2SEW operand. Non-mask instructions should only have 3, 4, 5, or 6 for their Log2SEW operand. Split the operand type so we can verify these cases separately. I had to fix the SEW for whole register move to vmv.v.v copy optimization and update an mir test. The vmv.v.v change isn't functional since we have already done vsetvli insertion before and nothing else uses the field after copy expansion. I can split these changes off if desired.
Author
Parents
Loading