Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Meinersbur
Copy link
Member

PolyhedralInfo is tied to the legacy pass manager. With the eventual removal of the legacy pass manager it will not be useful anymore.

PolyhedralInfo was an experiment to make Polly's analysis available to other passes. Its power is limited due to not being able to make assumptions for which regular Polly would emit a runtime condition/code versioning during optimization.

When eventually porting such an API to the new pass manager, we will have to invent a new API.

@Meinersbur Meinersbur removed the request for review from DeinAlptraum May 17, 2025 19:20
@Meinersbur Meinersbur force-pushed the users/meinersbur/polly_remove-PolyhedralInfo branch from 3598ad1 to c882519 Compare May 17, 2025 19:26
@sebpop
Copy link
Contributor

sebpop commented Sep 3, 2025

Its power is limited due to not being able to make assumptions for which regular Polly would emit a runtime condition/code versioning during optimization.

When eventually porting such an API to the new pass manager, we will have to invent a new API.

What about adopting the same interface as DA uses for runtime assumptions: SCEVPredicate can be used to pass down to the user all runtime assumptions, and the user can decide whether to version or not based on how complex the assumptions are.

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