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

Passes reordered + keep (C)initPrime after InlinePass #327

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

Kukovec
Copy link
Collaborator

@Kukovec Kukovec commented Nov 10, 2020

Changes the order of passes, so CoverAnalysisPass comes before inlining.

@Kukovec Kukovec requested a review from konnov November 10, 2020 15:56
@Kukovec Kukovec changed the title Passes reordered + keep initPrime after InlinePass Passes reordered + keep (C)initPrime after InlinePass Nov 10, 2020
@Kukovec
Copy link
Collaborator Author

Kukovec commented Nov 10, 2020

Once this passes I can merge it into #308 and close that.

Copy link
Collaborator

@konnov konnov left a comment

Choose a reason for hiding this comment

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

One comment. The rest looks good to me.

@@ -65,10 +65,17 @@ class InlinePassImpl @Inject()(val options: PassOptions,
// Remove the operators that are not needed,
// as some of them may contain higher-order operators that cannot be substituted
val relevantOperators = NormalizedNames.userOperatorNamesFromOptions(options).toSet
Copy link
Collaborator

Choose a reason for hiding this comment

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

why don't you extend userOperatorNamesFromOptions with the operators for cinit, initPrime, etc.? These names should keep the relevant operators, so later passes would not remove them.

@shonfeder
Copy link
Contributor

Hi @Kukovec! Just checking in here, as it looks like this PR might be nearly ready for merge, which would help unblock other WIP. LMT if there's anything I can do to help it along :)

@Kukovec Kukovec merged commit 57d95ae into unstable Nov 19, 2020
@Kukovec Kukovec deleted the jk/PassReorder branch November 19, 2020 14:05
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.

3 participants