projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb72dd6
)
Pass the isAntiDep argument.
author
Dan Gohman
<gohman@apple.com>
Mon, 24 Nov 2008 17:24:27 +0000
(17:24 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 24 Nov 2008 17:24:27 +0000
(17:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59968
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/ScheduleDAGInstrs.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/ScheduleDAGInstrs.cpp
b/lib/CodeGen/ScheduleDAGInstrs.cpp
index 21bbfde7093cd8889948b0b3127863a9d5d2595c..31008826e2489b857db1caccbec461a737c4a6c0 100644
(file)
--- 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()) {