Fix regression from r151466: an we can't replace uses of an instruction reachable...
authorEli Friedman <eli.friedman@gmail.com>
Tue, 13 Mar 2012 01:06:07 +0000 (01:06 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 13 Mar 2012 01:06:07 +0000 (01:06 +0000)
commit5b8f0ddc7e5bc3c7ffe1b2226a8316796f18b90e
tree43e3feba5e504c673b7d9462fea2cb4a571cc759
parent90c14fcb7ea3436a8b3053f8a9aa529c03011d34
Fix regression from r151466: an we can't replace uses of an instruction reachable from the entry block with uses of an instruction not reachable from the entry block.  PR12231.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152595 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
test/Transforms/EarlyCSE/instsimplify-dom.ll [new file with mode: 0644]