Remove an incorrect check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2007-07-06 16:52:47 +00:00
parent f664e41b20
commit 6a6152ca2d

View File

@ -1659,11 +1659,6 @@ unsigned GVNPRE::insertion_mergepoint(std::vector<Value*>& workList,
for (pred_iterator PI = pred_begin(BB), PE = pred_end(BB); PI != PE;
++PI) {
Value *e2 = phi_translate(e, *PI, BB);
if (find_leader(anticipatedIn[*PI], VN.lookup(e2)) == 0) {
by_some = false;
break;
}
Value *e3 = find_leader(availableOut[*PI], VN.lookup(e2));
if (e3 == 0) {