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:
bc65ca8
)
Apply the patch requested in PR3846.
author
Chris Lattner
<sabre@nondot.org>
Fri, 20 Mar 2009 05:08:24 +0000
(
05:08
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 20 Mar 2009 05:08:24 +0000
(
05:08
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67364
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PrologEpilogInserter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PrologEpilogInserter.cpp
b/lib/CodeGen/PrologEpilogInserter.cpp
index ab63f4933ffdaba07cfa7466e0e7fdcc6198031c..322c28bd4ddbfc0dc20a3f918d5e4374440eece6 100644
(file)
--- a/
lib/CodeGen/PrologEpilogInserter.cpp
+++ b/
lib/CodeGen/PrologEpilogInserter.cpp
@@
-574,7
+574,7
@@
void PEI::replaceFrameIndices(MachineFunction &Fn) {
break;
}
- if (DoIncr) ++I;
+ if (DoIncr
&& I != BB->end()
) ++I;
// Update register states.
if (RS && MI) RS->forward(MI);