if jump threading is able to infer interesting values on both
authorChris Lattner <sabre@nondot.org>
Mon, 12 Jul 2010 00:47:34 +0000 (00:47 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Jul 2010 00:47:34 +0000 (00:47 +0000)
commit0a96144aac449114330a5264b649eb449dc19a37
treee98a448764dc0607ad6b92d062bfec1f344029fd
parenteae2895120500d06bf6de9725efeeff498f60385
if jump threading is able to infer interesting values on both
the LHS and RHS of an and/or instruction, don't multiply add
known predecessor values.  This fixes the crash on testcase
from PR7498

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