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

Vector: Remove some unused result variables #557

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

Alasdair
Copy link
Collaborator

There are some vector instructions that use init_masked_result_cmp but do not use the returned result variable, so just discard it rather than create a new variable.

I didn't spot these in my previous re-factoring because I was checking that what I was doing was working with Sail 0.18, but since then I've added some warnings that can catch unused variables and they flagged these two cases where part of the return value from init_masked_result_cmp isn't being used.

There are some vector instructions that use `init_masked_result_cmp`
but do not use the returned result variable, so just discard it rather
than create a new variable.
Copy link

Test Results

396 tests  ±0   396 ✅ ±0   0s ⏱️ ±0s
  4 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit ea010eb. ± Comparison against base commit 6dd6464.

@Timmmm Timmmm merged commit fd1be4b into riscv:master Sep 20, 2024
2 checks passed
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.

2 participants