Skip to content

Commit d149370

Browse files
authored
[RISCV] Add test coverage for commutable RVV instructions
This patch adds test coverage for commutable RVV instructions added in #88379. For each kind of instruction, I add two tests (one for unmasked and one for masked). These tests don't cover all the SEWs/LMULs as I think it's not worthy because there is no difference when handling instructions with different SEWs/LMULs. As the tests shown, we can't eliminate two equal instructions if there is a use of `V0`. This may be fixed in the future. Reviewers: asb, jacquesguan, topperc, lukel97, preames Reviewed By: lukel97 Pull Request: #89889
1 parent 91526d6 commit d149370

File tree

1 file changed

+651
-0
lines changed

1 file changed

+651
-0
lines changed

0 commit comments

Comments
 (0)