mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
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:
parent
cb72dd6776
commit
974b5f53f7
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user