summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commitd2b10368ed56a6e14db7cbc0e8a2c79774b44fb1 (patch)
tree04efc85e4b9d86e5291c92496da765ec8102e250 /llvm/lib/CodeGen
parent11e4be3717231a93dbbb203179dded1640e9e6de (diff)
downloadbcm5719-llvm-d2b10368ed56a6e14db7cbc0e8a2c79774b44fb1.tar.gz
bcm5719-llvm-d2b10368ed56a6e14db7cbc0e8a2c79774b44fb1.zip
Pass the isAntiDep argument.
llvm-svn: 59968
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/ScheduleDAGInstrs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp b/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
index 21bbfde7093..31008826e24 100644
--- a/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
+++ b/llvm/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()) {
OpenPOWER on IntegriCloud