Fix bug: (x << 100) wasn't folded to 0, but (x >> 100) was (when x is unsigned)
authorChris Lattner <sabre@nondot.org>
Mon, 10 Mar 2003 19:16:08 +0000 (19:16 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 10 Mar 2003 19:16:08 +0000 (19:16 +0000)
commitea340054040583f9e7c6395fa288b8d341c94650
tree02d4ed63bd3b4b536a596d891f41bfc51b53473f
parentcb40a3749aa30b7b8a80d0e2d264379c331b1ae2
Fix bug: (x << 100) wasn't folded to 0, but (x >> 100) was (when x is unsigned)

Implement new shift optimizations for shifting the result of a shift.

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