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

[ConstraintElim] NE implies SLT if SLE and SGT if SGE #10104

Open
wants to merge 1 commit into
base: stable/20240723
Choose a base branch
from

Conversation

citymarina
Copy link

@citymarina citymarina commented Feb 24, 2025

Also, if there is an unsigned predicate but both operands are known
to be >= 0, we can also check against the signed predicate
information.

Main idea: https://alive2.llvm.org/ce/z/bsa7t5
Details for the changed test cases: https://alive2.llvm.org/ce/z/8NizRX

@citymarina citymarina requested a review from a team as a code owner February 24, 2025 17:06
@citymarina
Copy link
Author

@swift-ci please test

https://alive2.llvm.org/ce/z/bsa7t5

Also, if there is an unsigned predicate but both operands are known
to be >= 0, we can also check against the signed predicate
information.
@citymarina
Copy link
Author

@swift-ci please test

@citymarina citymarina requested a review from fhahn February 25, 2025 11:38
@citymarina
Copy link
Author

Alive is happy with all the test cases that changed, including the pre-existing ones: https://alive2.llvm.org/ce/z/8NizRX

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