Use information already present in the ValueTable to fast-fail when we know there...
authorOwen Anderson <resistor@mac.com>
Thu, 3 Jul 2008 17:44:33 +0000 (17:44 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 3 Jul 2008 17:44:33 +0000 (17:44 +0000)
commit0ae33ef202b1318888220f147e248af4b994dffc
tree4e5f8f6c6d9c7e94cd75df1a894da270839b5ea2
parent77a01136ff62502b0340c2749c6f708151018533
Use information already present in the ValueTable to fast-fail when we know there won't be a value number match.  This speeds up GVN on a case where there are very few redundancies by ~25%.

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