commit | 08213c9e36fd472f85fce8d7935c39d5aaead88a | [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 | 579a7fb775b6ebe7ad8c61b06d48979c1e8062a4 [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()) {