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:
8e28b5c
)
Fix ppc64 epilog bug.
author
Chris Lattner
<sabre@nondot.org>
Wed, 15 Nov 2006 23:35:30 +0000
(23:35 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 15 Nov 2006 23:35:30 +0000
(23:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31771
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 08f51db5af1eb0d45da40687c7e3eb219b8bdcca..5526a6e03dbb4dac14e3cb3a89063c2f9408653f 100644
(file)
--- a/
lib/Target/PowerPC/PPCRegisterInfo.cpp
+++ b/
lib/Target/PowerPC/PPCRegisterInfo.cpp
@@
-767,7
+767,7
@@
void PPCRegisterInfo::emitEpilogue(MachineFunction &MF,
// Get the number of bytes allocated from the FrameInfo.
unsigned NumBytes = MFI->getStackSize();
- unsigned GPRSize =
4;
+ unsigned GPRSize =
Subtarget.isPPC64() ? 8 : 4;
if (NumBytes != 0) {
// If this function has a frame pointer, load the saved stack pointer from