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 example of phase ordering in LLVM #701

Closed
wants to merge 9 commits into from

Conversation

oflatt
Copy link
Member

@oflatt oflatt commented Jan 8, 2025

The if_invariant_abs_dont_pull_out.rs demonstrates that llvm eagerly pulls out the absolute value computation, when it's better to specialize to the branches and cancel.

This PR also has misc other tests that don't demonstrate phase ordering but are good tests.

@oflatt oflatt requested a review from ajpal January 8, 2025 22:02
@oflatt oflatt closed this Jan 23, 2025
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.

1 participant