[SCCP] remove unnecessary check for constant when folding sext->zext
I'm not sure how to test this because we seem to constant-fold all examples already. We changed this code to use the common isNonNegative() helper, so it should not be necessary to avoid a constant. This makes the code uniform for all transforms.
Loading
Please sign in to comment