shl is always zero extending, so always use a zero extending shift right.
This latent bug was exposed by recent changes, and is tested as: llvm/test/Regression/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.llx llvm-svn: 16546
Loading
Please register or sign in to comment