forked from OSchip/llvm-project
parent
1a77dfba15
commit
2682bb6df2
|
@ -1301,7 +1301,7 @@ void BURegReductionPriorityQueue<SF>::AddPseudoTwoAddrDeps() {
|
||||||
I != E; ++I) {
|
I != E; ++I) {
|
||||||
if (I->isCtrl) continue;
|
if (I->isCtrl) continue;
|
||||||
SUnit *SuccSU = I->Dep;
|
SUnit *SuccSU = I->Dep;
|
||||||
// Don't constraint nodes with implicit defs. It can create cycles
|
// Don't constrain nodes with implicit defs. It can create cycles
|
||||||
// plus it may increase register pressures.
|
// plus it may increase register pressures.
|
||||||
if (SuccSU == SU || SuccSU->hasPhysRegDefs)
|
if (SuccSU == SU || SuccSU->hasPhysRegDefs)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue