Fix Analysis/BasicAA/pure-const-dce.ll. This turned out to be a correctness
authorOwen Anderson <resistor@mac.com>
Tue, 13 May 2008 23:18:30 +0000 (23:18 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 13 May 2008 23:18:30 +0000 (23:18 +0000)
commitc4f406e736d2cb5f313eef50abe1c0c935c4090e
tree087daa1519a1a1a961b621668f0715a4e13b0fec
parent94fb68ba217975d2d99ae86d15993402158ac655
Fix Analysis/BasicAA/pure-const-dce.ll.  This turned out to be a correctness
bug as well as a missed optimization.  We weren't properly checking for local
dependencies before moving on to non-local ones when doing non-local read-only
call CSE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51082 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp