[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.
parent
89a5d804
Please register or sign in to comment