[InstCombine] `sext(trunc(x)) --> sext(x)` iff trunc is NSW (PR49543)
If we can tell that trunc only chops off sign bits, and not all of them, then we can simply sign-extend the trunc's source.
parent
4e2c4190
Please register or sign in to comment