-
Notifications
You must be signed in to change notification settings - Fork 12k
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
[InstCombine] Failure to recognise hidden xor #57666
Comments
@RKSimon I would like to work on this ... |
Go for it! |
No recent activity on D133919, so I've tried to get this example with: |
This is the most basic patch to handle fixing issue #57666. D133919 proposes to handle much more than this in a single patch, but I've used 10 regression tests just to make sure this part is doing what I expected and nothing more, and it already shows even more potential TODO items. The more general proofs from D133919 are correct, but I want to enable this in smaller steps to reduce risk: https://alive2.llvm.org/ce/z/RrVEyX Differential Revision: https://reviews.llvm.org/D142847
We get the 2 basic cases of select-of-constants now, and there are TODO comments for enhancements. There's potentially some overlap between these patterns and signum (spaceship) as seen in #60012. |
https://alive2.llvm.org/ce/z/EFnf-a
Reported here: https://twitter.com/johnregehr/status/1568286233968656385
The text was updated successfully, but these errors were encountered: