Fix a subtle bug when removing instructions from memdep. In very specific
authorOwen Anderson <resistor@mac.com>
Mon, 28 Jul 2008 16:00:58 +0000 (16:00 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 28 Jul 2008 16:00:58 +0000 (16:00 +0000)
commitd4310a5d41cc13f109890f5efbb19e084fecb27a
tree52e9e803e579b6906c521d8baa134b82310a9b83
parent1a53eadbffb089de517071e575152c0cbe39b7c9
Fix a subtle bug when removing instructions from memdep.  In very specific
circumstances we could end up remapping a dependee to the same instruction
that we're trying to remove.  Handle this properly by just falling back to
a conservative solution.

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