Properly handle cases where a predecessor of the block being queried on is unreachable.
authorOwen Anderson <resistor@mac.com>
Tue, 1 Jul 2008 00:40:58 +0000 (00:40 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 1 Jul 2008 00:40:58 +0000 (00:40 +0000)
commitc4b871c650d4030031545a5a2d07ecaa48c80a9c
treed78cc2a3442ca01edffe87eab1f3f649ec33fb8b
parentf4f9c4f1cf4d497c63e40e6c7ef545c8c716a5ce
Properly handle cases where a predecessor of the block being queried on is unreachable.
This fixes PR2503, though we should also fix other passes not to emit this kind of code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52946 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/MemoryDependenceAnalysis.cpp