fix PR8895: metadata operands don't have a strong use of their
authorChris Lattner <sabre@nondot.org>
Mon, 3 Jan 2011 18:28:15 +0000 (18:28 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 3 Jan 2011 18:28:15 +0000 (18:28 +0000)
commita12ba39a1d4d22c8c2d348f1397d52be58391177
tree593460d83b9517952c7ace3802619d31cf83049b
parent18d49877530c04dd63578e6d9d0a1d3b6955502b
fix PR8895: metadata operands don't have a strong use of their
nested values, so they can change and drop to null, which can
change the hash and cause havok.

It turns out that it isn't a good idea to value number stuff
with metadata operands anyway, so... don't.

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