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

Refactor loopUnrolling autotuner #1582

Merged
merged 9 commits into from
Sep 30, 2024
Merged

Refactor loopUnrolling autotuner #1582

merged 9 commits into from
Sep 30, 2024

Conversation

karoliineh
Copy link
Member

Refactor some code in loopUnrolling.ml, simplifies the following:

  • Use Log instead of printing to stderr
  • Improve debug messages and simplify their syntax
  • Make sure the goal (bound) of the loop is found from the exact same loop statement comparison expression where the var was found
  • Move functions defined in fixedLoopSize to top level to make function definitions' style consistent
  • Use let* option monad syntax from GobOption.Syntax in LoopUnrolling

@karoliineh karoliineh added the cleanup Refactoring, clean-up label Sep 27, 2024
@karoliineh karoliineh self-assigned this Sep 28, 2024
@sim642 sim642 added this to the SV-COMP 2025 milestone Sep 30, 2024
Copy link
Member

@sim642 sim642 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The conflict with master now needs resolving too.

@karoliineh karoliineh merged commit 1f2bb69 into master Sep 30, 2024
21 checks passed
@karoliineh karoliineh deleted the refactor-loopUnroll branch September 30, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Refactoring, clean-up
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants