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
[InstCombine] Prevent infinite loop with two shifts
The following pattern: `(C2 << X) << C1` will usually be
transformed into `(C2 << C1) << X`, essentially swapping `X` and `C1`.
However, this should not only done when `C1` is an immediate constant, otherwise this
can lead to both constants being swapped forever
This fixes#118798
0 commit comments