You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I played with InstCombine, I generated something missed-optimized.
No real-world motivation, but it seems to be easy to implement. Missed example. Proof.
The text was updated successfully, but these errors were encountered:
XChy
changed the title
[InstCombine] Missed optimization for select a%2, (a/2*2)*(a/2*2), 0
[InstCombine] Missed optimization for select a%2==0, (a/2*2)*(a/2*2), 0
Nov 7, 2023
Thank you @nikic,
So what you're saying is, the fix for this is optimising the RHS/LHS of a select by taking into consideration any KnownBits that can be inferred from the condition of the select?
When I played with InstCombine, I generated something missed-optimized.
No real-world motivation, but it seems to be easy to implement.
Missed example.
Proof.
The text was updated successfully, but these errors were encountered: