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:
d1bb1c2
)
Revert 47177, which was incorrect.
author
Dan Gohman
<gohman@apple.com>
Sat, 16 Feb 2008 00:25:40 +0000
(
00:25
+0000)
committer
Dan Gohman
<gohman@apple.com>
Sat, 16 Feb 2008 00:25:40 +0000
(
00:25
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47196
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index e00139052c2900bc894479c9b23c9c04627b30ac..2cda59758ce6e79e98a36bd79edc5703c63fbbf3 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
@@
-431,7
+431,7
@@
SUnit *ScheduleDAGRRList::CopyAndMoveSuccessors(SUnit *SU) {
SUnit *NewSU = NewSUnit(N);
SUnitMap[N].push_back(NewSU);
const TargetInstrDesc &TID = TII->get(N->getTargetOpcode());
- for (unsigned i =
TID.getNumDefs()
; i != TID.getNumOperands(); ++i) {
+ for (unsigned i =
0
; i != TID.getNumOperands(); ++i) {
if (TID.getOperandConstraint(i, TOI::TIED_TO) != -1) {
NewSU->isTwoAddress = true;
break;