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:
c6d48d3
)
Fix an off-by-one error that Nate's eagle eyes caught
author
Chris Lattner
<sabre@nondot.org>
Wed, 11 Jan 2006 23:16:29 +0000
(23:16 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 11 Jan 2006 23:16:29 +0000
(23:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25231
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCRegisterInfo.cpp
b/lib/Target/PowerPC/PPCRegisterInfo.cpp
index 9801b4c896a98bcc70efecb74dbd3c829fdbe216..896c71b91a82324fe71c650f69d87fefb3b2f483 100644
(file)
--- a/
lib/Target/PowerPC/PPCRegisterInfo.cpp
+++ b/
lib/Target/PowerPC/PPCRegisterInfo.cpp
@@
-380,7
+380,7
@@
void PPCRegisterInfo::emitEpilogue(MachineFunction &MF,
// The loaded (or persistent) stack pointer value is offseted by the 'stwu'
// on entry to the function. Add this offset back now.
- if (NumBytes <
=
32768) {
+ if (NumBytes < 32768) {
BuildMI(MBB, MBBI, PPC::ADDI, 2, PPC::R1)
.addReg(PPC::R1).addSImm(NumBytes);
} else {