Fix a copy+paste bug that Duncan spotted. For several
authorDan Gohman <gohman@apple.com>
Thu, 11 Sep 2008 18:53:02 +0000 (18:53 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 11 Sep 2008 18:53:02 +0000 (18:53 +0000)
commitbcb37fd22f0345bdfd30c57e8a7f22fc6080e20a
tree0513d3c386e134595147273c5d895b5b02417409
parent4086906a0f813065244cc9f845e45527ae704b58
Fix a copy+paste bug that Duncan spotted. For several
cases it was still getting lucky and detecting overflow
but it was clearly incorrect.

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