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:
cbad42c
)
Fix a bug introduced by my previous patch. With this change, SPEC is now clean with...
author
Owen Anderson
<resistor@mac.com>
Tue, 18 Nov 2008 20:53:59 +0000
(20:53 +0000)
committer
Owen Anderson
<resistor@mac.com>
Tue, 18 Nov 2008 20:53:59 +0000
(20:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59544
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PreAllocSplitting.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PreAllocSplitting.cpp
b/lib/CodeGen/PreAllocSplitting.cpp
index dfbc796cd3fc36b5371ec7b229f5b43691749672..2e385c8e8ef197c6c3bdf24716d2515ef200ab99 100644
(file)
--- a/
lib/CodeGen/PreAllocSplitting.cpp
+++ b/
lib/CodeGen/PreAllocSplitting.cpp
@@
-233,7
+233,7
@@
PreAllocSplitting::findRestorePoint(MachineBasicBlock *MBB, MachineInstr *MI,
unsigned &RestoreIndex) {
// FIXME: Allow spill to be inserted to the beginning of the mbb. Update mbb
// begin index accordingly.
- MachineBasicBlock::iterator Pt = MBB->
getFirstTerminator
();
+ MachineBasicBlock::iterator Pt = MBB->
end
();
unsigned EndIdx = LIs->getMBBEndIdx(MBB);
// Go bottom up if RefsInMBB is empty and the end of the mbb isn't beyond