projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update the MachineBasicBlock CFG for an indirect branch.
[oota-llvm.git]
/
lib
/
CodeGen
/
ScheduleDAGInstrs.cpp
diff --git
a/lib/CodeGen/ScheduleDAGInstrs.cpp
b/lib/CodeGen/ScheduleDAGInstrs.cpp
index 43454dd1cbe6f903307b324514619970fbe99464..880782e28176bee610cbcaeada68e8f29efa28e9 100644
(file)
--- a/
lib/CodeGen/ScheduleDAGInstrs.cpp
+++ b/
lib/CodeGen/ScheduleDAGInstrs.cpp
@@
-208,7
+208,7
@@
void ScheduleDAGInstrs::BuildSchedGraph(AliasAnalysis *AA) {
SUnit *DefSU = DefList[i];
if (DefSU != SU &&
(Kind != SDep::Output || !MO.isDead() ||
- !DefSU->getInstr()->registerDefIsDead(
Reg
)))
+ !DefSU->getInstr()->registerDefIsDead(
*Alias
)))
DefSU->addPred(SDep(SU, Kind, AOLatency, /*Reg=*/ *Alias));
}
}