parent
9d97420473
commit
bcdd7ec4c9
|
|
@ -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;
|
for (pred_iterator PI = pred_begin(BB), PE = pred_end(BB); PI != PE;
|
||||||
++PI) {
|
++PI) {
|
||||||
Value *e2 = phi_translate(e, *PI, BB);
|
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));
|
Value *e3 = find_leader(availableOut[*PI], VN.lookup(e2));
|
||||||
|
|
||||||
if (e3 == 0) {
|
if (e3 == 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue