[llvm-commits] CVS: llvm/lib/CodeGen/PrologEpilogInserter.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Aug 21 13:05:12 PDT 2004



Changes in directory llvm/lib/CodeGen:

PrologEpilogInserter.cpp updated: 1.33 -> 1.34
---
Log message:

Register info alignment is in bits, frame object alignment is (currently) in
bytes.


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff -u llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.33 llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.34
--- llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.33	Sat Aug 21 14:45:10 2004
+++ llvm/lib/CodeGen/PrologEpilogInserter.cpp	Sat Aug 21 15:04:59 2004
@@ -182,7 +182,7 @@
     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),






More information about the llvm-commits mailing list