Fix PR8790, another instance where unreachable code can cause instruction simplificat...
authorOwen Anderson <resistor@mac.com>
Wed, 15 Dec 2010 00:55:35 +0000 (00:55 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 15 Dec 2010 00:55:35 +0000 (00:55 +0000)
commit86e8a700f516e8993417fb57d5386614b35c775d
tree07070adf1ac277abd6807a74239d4ad044d53784
parent93f83deba1df95211898fe756758e81969955bd9
Fix PR8790, another instance where unreachable code can cause instruction simplification to fail,
this case involve a select that simplifies to itself.

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