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

More robust loop detection #1646

Merged
merged 7 commits into from
Sep 7, 2024
Merged

More robust loop detection #1646

merged 7 commits into from
Sep 7, 2024

Conversation

tbennun
Copy link
Collaborator

@tbennun tbennun commented Sep 6, 2024

Generalizes the behavior of loop detection to support rotated loops, single-state loops, and as a result LLVM canonical loops. The PR also refactors the loop analysis methods and generalizes DetectLoop transformation subclasses, such as LoopToMap and LoopPeeling.

@tbennun tbennun requested a review from phschaad September 7, 2024 07:08
Copy link
Collaborator

@phschaad phschaad left a comment

Choose a reason for hiding this comment

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

Nice, this looks great - I'm hoping this will serve us well in a pass that lifts these into LoopRegions. Thanks!

@phschaad phschaad enabled auto-merge September 7, 2024 08:06
@phschaad phschaad added this pull request to the merge queue Sep 7, 2024
Merged via the queue into master with commit 0a2c55a Sep 7, 2024
10 checks passed
@phschaad phschaad deleted the ext-loop-detection branch September 7, 2024 10:28
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