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

[TypeAnalysis] update handling of select & induct on floats #73

Merged
merged 1 commit into from
Oct 14, 2020
Merged

Conversation

wsmoses
Copy link
Member

@wsmoses wsmoses commented Oct 13, 2020

Type Analysis wasn't being sufficiently aggressive to learn that floating-point phi's generated by vectorization could indeed have their types learned inductively.

This could, however, lead to compile-time blow-ups that are O(N!) in the length of a phi-node chain which are far more likely for floating points (used in results) than in integers where the inductive rule is being applied.

Practically, the performance impact of this is resolved by also upgrading the type propagation rule for a select instruction -- though this should separately be looked into to ensure reasonable compile times.

@wsmoses wsmoses requested a review from vchuravy October 13, 2020 20:51
Copy link
Member

@vchuravy vchuravy left a comment

Choose a reason for hiding this comment

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

probably needs a clang-fromat :)

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.

None yet

2 participants