summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-11-12 14:18:01 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-11-12 14:18:01 +0000
commitdff0a891c1108aaf335680992f51eafbae65e6fa (patch)
treee52a94dfe57657d8fcf85764a97efc75d71dd1f8 /llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp
parent3b02a35a80bb242154a62c8b6619356d2ddeef0d (diff)
downloadbcm5719-llvm-dff0a891c1108aaf335680992f51eafbae65e6fa.tar.gz
bcm5719-llvm-dff0a891c1108aaf335680992f51eafbae65e6fa.zip
Major improvement to how nodes are built for a BB.
LLVM instruction is no longer recorded in each node, but BB is. llvm-svn: 1262
Diffstat (limited to 'llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp')
-rw-r--r--llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp
index 7840a250984..31d9f6c5926 100644
--- a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp
+++ b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp
@@ -264,7 +264,7 @@ SchedPriorities::instructionHasLastUse(MethodLiveVarInfo& methodLiveVarInfo,
// else check if instruction is a last use and save it in the hash_map
bool hasLastUse = false;
- const BasicBlock* bb = graphNode->getInstr()->getParent();
+ const BasicBlock* bb = graphNode->getBB();
const LiveVarSet* liveVars =
methodLiveVarInfo.getLiveVarSetBeforeMInst(minstr, bb);
OpenPOWER on IntegriCloud