Switch GVN::processNonLocalLoad to using the new
authorChris Lattner <sabre@nondot.org>
Tue, 9 Dec 2008 19:25:07 +0000 (19:25 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 Dec 2008 19:25:07 +0000 (19:25 +0000)
commit91bcf6450ab063204a7ccd933d7db40028485147
tree7e37ec83a93cd3f46828692c02f02f2c20816387
parentae1993114f71c286e0d737776ad48d9eefd3c67a
Switch GVN::processNonLocalLoad to using the new
MemDep::getNonLocalPointerDependency method.  There are
some open issues with this (missed optimizations) and
plenty of future work, but this does allow GVN to eliminate
*slightly* more loads (49246 vs 49033).

Switching over now allows simplification of the other code
path in memdep.

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