add an early out to ProcessBranchOnXOR to speed it up,
authorChris Lattner <sabre@nondot.org>
Sat, 23 Jan 2010 19:16:25 +0000 (19:16 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 23 Jan 2010 19:16:25 +0000 (19:16 +0000)
commit2dd7657a5b063e6f77c34f418b7e23654b6fe4a0
tree67f0ddc05fc97745156f5dac4a37e0b8ef0cb670
parent8231fd1e6ca940511843381ea5f0dbfbc740b1e6
add an early out to ProcessBranchOnXOR to speed it up,
handle the case when we can infer an input to the xor
from all inputs that agree, instead of going into an
infinite loop.  Another part of PR6199

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94321 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/JumpThreading.cpp
test/Transforms/JumpThreading/crash.ll