rework the code added in r122072 to pull it out to its own
authorChris Lattner <sabre@nondot.org>
Sun, 19 Dec 2010 17:52:50 +0000 (17:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 19 Dec 2010 17:52:50 +0000 (17:52 +0000)
commitf0f568b49e111da1258902b73a7b9266222e1842
tree1ec9cd8d0551f83978351698945e3957cbfdafca
parent1dec0d27048725cf73f73ce4f0bb97ca78255f97
rework the code added in r122072 to pull it out to its own
helper function, clean up comments, and reduce indentation.
No functionality change.

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