ComputeMaskedBits: sub falls through to add, and sub doesn't have the same overflow...
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 11 Mar 2011 14:46:49 +0000 (14:46 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 11 Mar 2011 14:46:49 +0000 (14:46 +0000)
commit2715a581494ef0c7f7403f9f7dbe4c0d052d61a5
tree7f38e96b0239c201408a83a0b4c2b20b579d921b
parent6b4972518cff5b0f76ec63fc8b93b74ae64c3f3d
ComputeMaskedBits: sub falls through to add, and sub doesn't have the same overflow semantics as add.

Should fix the selfhost failures that started with r127463.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127465 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp
test/Transforms/InstCombine/sext.ll