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
merged 3 commits into from
Aug 6, 2024

Conversation

val-ms
Copy link
Contributor

@val-ms val-ms commented Aug 3, 2024

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...

@val-ms val-ms requested a review from ragusaa August 3, 2024 00:17
@val-ms val-ms 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
@val-ms val-ms force-pushed the driver-inline-opt-pass-docs-and-remove-unused-passes branch from c23a29f to 2f1a92c Compare August 5, 2024 19:53
@val-ms
Copy link
Contributor Author

val-ms commented Aug 5, 2024

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

val-ms added 3 commits August 6, 2024 10:12
Remove ClamBCChangeMallocArgSize and ClamBCRemoveUndefs.

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