Skip to content

[SIL] Extracted instruction methods from SILCombiner. #27042

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

Conversation

nate-chandler
Copy link
Contributor

SILCombiner has a number of conveniences for inserting, replacing, and removing instructions that involve modifying a worklist as part of their behavior.

The conveniences are added to SILInstructionWorklist in the first commit ("[SIL] Extracted instruction methods from SILCombiner.").

In the second commit ("[SILCombiner] Use methods from SILInstructionWorklist."), SILCombiner is modified to call through to the methods which were added to SILInstructionWorklist.

In the third commit ("[SIL] Tweaked worklist instruction methods' style."), the methods' style is tweaked slightly.

At the moment there is an extra commit stemming from the PR (#27028) that this is based on.

@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please ASAN test

@swift-ci
Copy link
Contributor

swift-ci commented Sep 6, 2019

Build failed
Swift Test OS X Platform
Git Sha - 3cbf6760dc4b1551d8f6fdcc1da2f803bd5fa534

@nate-chandler nate-chandler force-pushed the extract-instruction-modifying-functionality branch from 3cbf676 to 06c7516 Compare September 6, 2019 01:22
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please ASAN test

@nate-chandler
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please ASAN test

2 similar comments
@nate-chandler
Copy link
Contributor Author

@swift-ci please ASAN test

@nate-chandler
Copy link
Contributor Author

@swift-ci please ASAN test

@nate-chandler nate-chandler force-pushed the extract-instruction-modifying-functionality branch from 06c7516 to 5ed3767 Compare September 6, 2019 15:52
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Sep 6, 2019

Build failed
Swift Test OS X Platform
Git Sha - 5ed3767f41ba3084e23f29227430896b60823d36

@nate-chandler nate-chandler force-pushed the extract-instruction-modifying-functionality branch 2 times, most recently from 5620553 to 038df57 Compare September 6, 2019 16:19
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

2 similar comments
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Sep 6, 2019

Build failed
Swift Test Linux Platform
Git Sha - 5ed3767f41ba3084e23f29227430896b60823d36

@nate-chandler nate-chandler force-pushed the extract-instruction-modifying-functionality branch from 038df57 to d00a497 Compare September 6, 2019 18:43
SILCombiner has a number of conveniences for inserting, replacing, and
removing instructions that involve modifying a worklist as part of their
behavior.  Here, that functionality is added to the
SILInstructionWorklist; in a subsequent commit it will be removed from
SILCombiner which will then call through to SILInstructionWorklist.
In the previous commit, various methods for adding, replacing, and
removing instructions were duplicate from SILCombiner into
SILInstructionWorklist.  Here, SILCombiner is modified to call through
to the methods which were added to SILInstructionWorklist.
@nate-chandler nate-chandler force-pushed the extract-instruction-modifying-functionality branch from d00a497 to 0dce4da Compare September 6, 2019 18:58
@nate-chandler
Copy link
Contributor Author

@swift-ci please smoke test and merge

@nate-chandler
Copy link
Contributor Author

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit 568f615 into swiftlang:master Sep 6, 2019
@nate-chandler nate-chandler deleted the extract-instruction-modifying-functionality branch September 6, 2019 20:11
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