Generalize MaskedValueIsZero into a ComputeMaskedNonZeroBits function, which
authorChris Lattner <sabre@nondot.org>
Tue, 7 Feb 2006 08:05:22 +0000 (08:05 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 7 Feb 2006 08:05:22 +0000 (08:05 +0000)
commit74c51a0ff2257b15582e0c07134917b60435dfbe
tree9ffeb8637f27dc0a6da0fea347e068c100c91561
parent3bedbd9d71eabed61bc7fd4a77d1b5b2bf27cf52
Generalize MaskedValueIsZero into a ComputeMaskedNonZeroBits function, which
is just as efficient as MVIZ and is also more general.

Fix a few minor bugs introduced in recent patches

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