Add a check missing from my last commit and avoid a potential overflow situation.
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 20 Dec 2010 20:00:31 +0000 (20:00 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 20 Dec 2010 20:00:31 +0000 (20:00 +0000)
commitb0de244f23c2e11505cab729f198dfaaa2028532
tree42ecd11e83e25527f1831b88b60c5c6b79403a32
parent87790abb08eea60a2fa090b6d7b498cc625fa3f2
Add a check missing from my last commit and avoid a potential overflow situation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122258 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp