Refactor some code. In the mul - setcc folding case, we really care about
authorChris Lattner <sabre@nondot.org>
Mon, 23 Feb 2004 06:38:22 +0000 (06:38 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 23 Feb 2004 06:38:22 +0000 (06:38 +0000)
commit4cb170cc6e21bed3750cb15e2b270d7d0bde50e4
tree1ff089f7ee8b0125886acba6e847a1242540f709
parent19e40ade3d117cc29e868d7318a377b7a24005e9
Refactor some code.  In the mul - setcc folding case, we really care about
whether this is the sign bit or not, so check unsigned comparisons as well.

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