Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RISCV] Add test coverage for commutable RVV instructions #89889

Conversation

wangpc-pp
Copy link
Contributor

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.

Created using spr 1.3.6-beta.1
@wangpc-pp wangpc-pp changed the title [RISCV] Add test coverage for commutable RVV insructions [RISCV] Add test coverage for commutable RVV instructions Apr 24, 2024
@wangpc-pp wangpc-pp merged commit d149370 into main Apr 24, 2024
4 of 5 checks passed
@wangpc-pp wangpc-pp deleted the users/wangpc-pp/spr/riscv-add-test-coverage-for-commutable-rvv-insructions branch April 24, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants