Limit the search depth of MaskedValueIsZero to 6 instructions, to avoid
authorChris Lattner <sabre@nondot.org>
Mon, 31 Oct 2005 18:35:52 +0000 (18:35 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 31 Oct 2005 18:35:52 +0000 (18:35 +0000)
commit76ff2c75044fc97ef1af9936c65d344ab7b7e59b
tree4572ca8513469f6a6d78651a78affebbf4d9a292
parentb5a0c0ee059db5994d4fec7ebd03c048b4fcd308
Limit the search depth of MaskedValueIsZero to 6 instructions, to avoid
bad cases.  This fixes Markus's second testcase in PR639, and should
seal it for good.

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