summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-10-17 09:20:14 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-10-17 09:20:14 +0000
commit4729191bb2fa4dfe54e6ae55ae1ce41a3fb60b60 (patch)
tree3da6a23784081a5ff104dce09bceadb30aaa4fa6 /llvm/lib/CodeGen/PrologEpilogInserter.cpp
parentf997f1e896d1cafb2c9f29e123362d8e84046eb3 (diff)
downloadbcm5719-llvm-4729191bb2fa4dfe54e6ae55ae1ce41a3fb60b60.tar.gz
bcm5719-llvm-4729191bb2fa4dfe54e6ae55ae1ce41a3fb60b60.zip
Distinquish stack slots from other stack objects. They (and fixed objects) get FixedStack PseudoSourceValues.
llvm-svn: 84326
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r--llvm/lib/CodeGen/PrologEpilogInserter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
index 7af0bba1973..8a0b003e92c 100644
--- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
@@ -259,7 +259,7 @@ void PEI::calculateCalleeSavedRegisters(MachineFunction &Fn) {
// the TargetRegisterClass if the stack alignment is smaller. Use the
// min.
Align = std::min(Align, StackAlign);
- FrameIdx = FFI->CreateStackObject(RC->getSize(), Align);
+ FrameIdx = FFI->CreateStackObject(RC->getSize(), Align, true);
if ((unsigned)FrameIdx < MinCSFrameIndex) MinCSFrameIndex = FrameIdx;
if ((unsigned)FrameIdx > MaxCSFrameIndex) MaxCSFrameIndex = FrameIdx;
} else {
OpenPOWER on IntegriCloud