aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-11-24 17:24:27 +0000
committerDan Gohman <gohman@apple.com>2008-11-24 17:24:27 +0000
commit974b5f53f70294d6fb586c7a47fee505b3eaf1ae (patch)
tree269c236052be85ddb5061b08fabfd312dfd73fd7
parentcb72dd6776d49b21711977bde21b23c92cff7544 (diff)
Pass the isAntiDep argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59968 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/ScheduleDAGInstrs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/ScheduleDAGInstrs.cpp b/lib/CodeGen/ScheduleDAGInstrs.cpp
index 21bbfde709..31008826e2 100644
--- a/lib/CodeGen/ScheduleDAGInstrs.cpp
+++ b/lib/CodeGen/ScheduleDAGInstrs.cpp
@@ -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()) {