* Further cleanup.
authorChris Lattner <sabre@nondot.org>
Wed, 21 Jul 2004 20:14:10 +0000 (20:14 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 21 Jul 2004 20:14:10 +0000 (20:14 +0000)
commitf0cacc0ae7f5be5aed9d4c1eb36be0d686ad8880
tree4991252d07946e05b47abcd4dc56283cf6e49114
parent97a296f743c3cb78ae106a8e4800a5daa0ca6fc9
* Further cleanup.

* Test for whether bits are shifted out during the optzn.

If so, the fold is illegal, though it can be handled explicitly for setne/seteq

This fixes the miscompilation of 254.gap last night, which was a latent bug
exposed by other optimizer improvements.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15085 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp