commit | 974b5f53f70294d6fb586c7a47fee505b3eaf1ae | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Nov 24 17:24:27 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Nov 24 17:24:27 2008 +0000 |
tree | 269c236052be85ddb5061b08fabfd312dfd73fd7 | |
parent | cb72dd6776d49b21711977bde21b23c92cff7544 [diff] |
Pass the isAntiDep argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59968 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/ScheduleDAGInstrs.cpp b/lib/CodeGen/ScheduleDAGInstrs.cpp index 21bbfde..3100882 100644 --- a/lib/CodeGen/ScheduleDAGInstrs.cpp +++ b/lib/CodeGen/ScheduleDAGInstrs.cpp
@@ -58,7 +58,7 @@ 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()) {