Pass the isAntiDep argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59968 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-11-24 17:24:27 +00:00
parent cb72dd6776
commit 974b5f53f7

View File

@ -58,7 +58,7 @@ void ScheduleDAGInstrs::BuildSchedUnits() {
SUnit *&Def = Defs[*Alias];
if (Def && Def != SU)
Def->addPred(SU, /*isCtrl=*/true, /*isArtificial=*/false,
/*PhyReg=*/*Alias, Cost);
/*PhyReg=*/*Alias, Cost, /*isAntiDep=*/MO.isUse());
}
if (MO.isDef()) {