commit | 0cba71b0d6e19e1ef4fe0e306357d9c2eae287b0 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Sep 28 17:54:07 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Sep 28 17:54:07 2004 +0000 |
tree | 7e64b71dde73590b58b52e91400fda932fe8ebc4 | |
parent | 8fb6882f19aab2b5ba9094195479701167c6cbe2 [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16546 91177308-0d34-0410-b5e6-96231b3b80d8