optimize uadd(x, cst) into a comparison when the normal
authorChris Lattner <sabre@nondot.org>
Sun, 19 Dec 2010 19:35:32 +0000 (19:35 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 19 Dec 2010 19:35:32 +0000 (19:35 +0000)
commit26b482d7a76df3f67675ce852daed0eba709c63e
treed8947c885f11c7b2e692448e1bbffdb60ca5e94f
parentcc3029acdd4489c2cfe4c3e39fcb59241790d590
optimize uadd(x, cst) into a comparison when the normal
result is dead.  This is required for my next patch to not
regress the testsuite.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122181 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/intrinsics.ll