Fix PR577 and testcase InstCombine/2005-06-15-ShiftSetCCCrash.ll.
authorChris Lattner <sabre@nondot.org>
Wed, 15 Jun 2005 20:53:31 +0000 (20:53 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Jun 2005 20:53:31 +0000 (20:53 +0000)
commite17a128a554dfc4aba74cefa7839f602dd73386f
tree9b0f696e6bcff8916ed563066cf075b90a03a5f3
parent7833b44f6a7cb790fd6d0034b6a7d7dc820765cb
Fix PR577 and testcase InstCombine/2005-06-15-ShiftSetCCCrash.ll.
Do not perform undefined out of range shifts.

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