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

Add documentation in the driver for each opt pass, and remove unused passes #53

Merged

Conversation

micahsnyder
Copy link
Contributor

This PR has a couple TODO's that I need help with:

  • I could use help with describing the Lowering pass.
  • I have no idea what 'lowerswitch' does.

Note: I didn't remove the Final version of the Lowering pass because I felt like that would require merging the NF version into the Lowering class, and maybe dispensing with the isFinal() method. I wasn't really comfortable doing that in this commit which is supposed to be non-functional documentation/dead code stuff...

@micahsnyder micahsnyder requested a review from ragusaa August 3, 2024 00:17
@micahsnyder micahsnyder force-pushed the driver-inline-opt-pass-docs-and-remove-unused-passes branch 3 times, most recently from 4497ac8 to f7f2d81 Compare August 3, 2024 00:48
clambcc/clambc-compiler.py Outdated Show resolved Hide resolved
clambcc/clambc-compiler.py Outdated Show resolved Hide resolved
clambcc/clambc-compiler.py Outdated Show resolved Hide resolved
@micahsnyder micahsnyder force-pushed the driver-inline-opt-pass-docs-and-remove-unused-passes branch from c23a29f to 2f1a92c Compare August 5, 2024 19:53
@micahsnyder
Copy link
Contributor Author

Force-pushed to squish the review changes into the first commit.

Remove ClamBCChangeMallocArgSize and ClamBCRemoveUndefs.

Also removed a commented out call to clambc-remove-pointer-phis.
This pass is performed later on.
@micahsnyder micahsnyder force-pushed the driver-inline-opt-pass-docs-and-remove-unused-passes branch from 2f1a92c to 04e2acc Compare August 6, 2024 14:13
@micahsnyder micahsnyder merged commit 7417f77 into main Aug 6, 2024
2 of 3 checks passed
@micahsnyder micahsnyder deleted the driver-inline-opt-pass-docs-and-remove-unused-passes branch August 9, 2024 00:32
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