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

Lean: ignore unused variables and increase compute outs #1013

Merged
merged 1 commit into from
Feb 16, 2025

Conversation

tobiasgrosser
Copy link
Collaborator

@tobiasgrosser tobiasgrosser commented Feb 15, 2025

This reduces the number of warnings and errors from 3021 to 1547 on the RISC-V spec.

Thank you to @ineol for suggesting this improvement.

This closes #1011.

@tobiasgrosser tobiasgrosser added the Lean Issues with Sail to Lean translation label Feb 15, 2025
Copy link

github-actions bot commented Feb 15, 2025

Test Results

   13 files  ±0     27 suites  ±0   0s ⏱️ ±0s
  811 tests ±0    811 ✅ ±0  0 💤 ±0  0 ❌ ±0 
2 805 runs  ±0  2 805 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 1328b4e. ± Comparison against base commit 6ae1f3d.

♻️ This comment has been updated with latest results.

This reduces the number of warnings+errors from 3021 to 1562 on the RISC-V
spec. This closes rems-project#1011.

Co-authored-by: Léo Stefanesco <[email protected]>
@tobiasgrosser tobiasgrosser changed the title Lean: ignore unused variables Lean: ignore unused variables and increase compute outs. Feb 15, 2025
@tobiasgrosser tobiasgrosser changed the title Lean: ignore unused variables and increase compute outs. Lean: ignore unused variables and increase compute outs Feb 15, 2025
@tobiasgrosser
Copy link
Collaborator Author

Thank you, @ineol. Following your advice, I added support for compute-outs as well.

@Alasdair Alasdair merged commit ecfe107 into rems-project:sail2 Feb 16, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lean Issues with Sail to Lean translation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sail-to-lean: set set_option linter.unusedVariables false (- 1449 warnings)
3 participants