simplify and merge a bunch of code. Instead of comparing against
authorChris Lattner <sabre@nondot.org>
Fri, 11 Jul 2008 05:40:05 +0000 (05:40 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 11 Jul 2008 05:40:05 +0000 (05:40 +0000)
commit183661e43a8085aed3dc7dcd71c6829f3a883c9e
tree4d528eca94d2c1fcab3169ae1ab76b5f4d5dbe18
parent84dff672a4dde64388104e58795231c85969dc26
simplify and merge a bunch of code.  Instead of comparing against
the min/max values for an integer type, compare against the min/max
values we can prove contain the input.  This might be a tighter bound,
so this is general goodness.

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