summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-12-05 03:14:33 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-12-05 03:14:33 +0000
commitbb26301864354b6bfc01212d4aa0ef695fbdc833 (patch)
tree2a038c5528298d90a23e0f9d74a1a8d2078376b5 /llvm/lib/CodeGen/PrologEpilogInserter.cpp
parentd766e5d7c24b517bb8e2315dfd880dc78dedaed6 (diff)
downloadbcm5719-llvm-bb26301864354b6bfc01212d4aa0ef695fbdc833.tar.gz
bcm5719-llvm-bb26301864354b6bfc01212d4aa0ef695fbdc833.zip
Add a argument to storeRegToStackSlot and storeRegToAddr to specify whether
the stored register is killed. llvm-svn: 44600
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 882c6a74404..9f765d43d40 100644
--- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
@@ -253,7 +253,7 @@ void PEI::saveCalleeSavedRegisters(MachineFunction &Fn) {
MBB->addLiveIn(CSI[i].getReg());
// Insert the spill to the stack frame.
- RegInfo->storeRegToStackSlot(*MBB, I, CSI[i].getReg(),
+ RegInfo->storeRegToStackSlot(*MBB, I, CSI[i].getReg(), true,
CSI[i].getFrameIdx(), CSI[i].getRegClass());
}
}
OpenPOWER on IntegriCloud