[llvm-commits] [llvm] r59968 - /llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp
Dan Gohman
gohman at apple.com
Mon Nov 24 09:24:27 PST 2008
Author: djg
Date: Mon Nov 24 11:24:27 2008
New Revision: 59968
URL: http://llvm.org/viewvc/llvm-project?rev=59968&view=rev
Log:
Pass the isAntiDep argument.
Modified:
llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp
Modified: llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp?rev=59968&r1=59967&r2=59968&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp (original)
+++ llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp Mon Nov 24 11:24:27 2008
@@ -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()) {
More information about the llvm-commits
mailing list