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:
98df506
)
Register info alignment is in bits, frame object alignment is (currently) in
author
Chris Lattner
<sabre@nondot.org>
Sat, 21 Aug 2004 20:04:59 +0000
(20:04 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 21 Aug 2004 20:04:59 +0000
(20:04 +0000)
bytes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15970
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 213371949c87023e70ac1864eb751ffd0f6455c3..c71755612ec065213be823604b61762b7a925edc 100644
(file)
--- a/
lib/CodeGen/PrologEpilogInserter.cpp
+++ b/
lib/CodeGen/PrologEpilogInserter.cpp
@@
-182,7
+182,7
@@
void PEI::calculateCallerSavedRegisters(MachineFunction &Fn) {
if (FixedSlot == FixedSpillSlots+NumFixedSpillSlots) {
// Nope, just spill it anywhere convenient.
FrameIdx = FFI->CreateStackObject(RegInfo->getSpillSize(Reg),
- RegInfo->getSpillAlignment(Reg));
+ RegInfo->getSpillAlignment(Reg)
/8
);
} else {
// Spill it to the stack where we must.
FrameIdx = FFI->CreateFixedObject(RegInfo->getSpillSize(Reg),