centralize "marking for deletion" into a helper function. Pass GVN around to
authorChris Lattner <sabre@nondot.org>
Thu, 28 Apr 2011 16:36:48 +0000 (16:36 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 28 Apr 2011 16:36:48 +0000 (16:36 +0000)
commit4756ecb375725cca9d374bde389977325075c9eb
tree1a4597c4758c6bb4543a389464dd02aca7bd80f0
parentf07054d98a5fcd59f3a30853f4b54a74a74986e5
centralize "marking for deletion" into a helper function.  Pass GVN around to
static functions instead of passing around tons of random ivars.

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