aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/InstrSched/SchedGraph.cpp
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-10-10 20:58:11 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-10-10 20:58:11 +0000
commit6db77c55ff6c591739b41a5a5666c304405952f0 (patch)
tree8ec66a250fff25f98f057671603abb4452790cd8 /lib/CodeGen/InstrSched/SchedGraph.cpp
parent8557b226f3f79f077fd174c91e7f830157012b03 (diff)
Don't insert useful instructions in delay slot of a RETURN.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSched/SchedGraph.cpp')
-rw-r--r--lib/CodeGen/InstrSched/SchedGraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/InstrSched/SchedGraph.cpp b/lib/CodeGen/InstrSched/SchedGraph.cpp
index fd09e9e777..97a3b7ab4c 100644
--- a/lib/CodeGen/InstrSched/SchedGraph.cpp
+++ b/lib/CodeGen/InstrSched/SchedGraph.cpp
@@ -632,7 +632,7 @@ SchedGraph::addEdgesForInstruction(const MachineInstr& minstr,
// machine instruction in the instruction sequence for this VM instr
// (at least for now, there is never more than one machine instr).
//
- const vector<const Value*>& implicitUses =
+ const vector<Value*>& implicitUses =
instr.getMachineInstrVec().getImplicitUses();
for (unsigned i=0; i < implicitUses.size(); ++i)
addSSAEdge(node, implicitUses[i], target);