summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMConstantIslandPass.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-03-01 08:26:31 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-03-01 08:26:31 +0000
commitf49407b790d8664d8ff9c103931b115ebe9cc96e (patch)
tree272b02d7bf8a306f2cfc4dc7216e164b9b9cf894 /lib/Target/ARM/ARMConstantIslandPass.cpp
parenta6e8a955d6ab82911a1909fac7a9f4256a4d090e (diff)
downloadllvm-f49407b790d8664d8ff9c103931b115ebe9cc96e.tar.gz
llvm-f49407b790d8664d8ff9c103931b115ebe9cc96e.tar.bz2
llvm-f49407b790d8664d8ff9c103931b115ebe9cc96e.tar.xz
- Track which callee-saved registers are spilled.
- Some code clean up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34783 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMConstantIslandPass.cpp')
-rw-r--r--lib/Target/ARM/ARMConstantIslandPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMConstantIslandPass.cpp b/lib/Target/ARM/ARMConstantIslandPass.cpp
index 23c87e34d0..27e6cc08a3 100644
--- a/lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/lib/Target/ARM/ARMConstantIslandPass.cpp
@@ -213,7 +213,7 @@ bool ARMConstantIslands::runOnMachineFunction(MachineFunction &Fn) {
// If LR has been forced spilled and no far jumps (i.e. BL) has been issued.
// Undo the spill / restore of LR if possible.
- if (!HasFarJump && AFI->isLRForceSpilled() && isThumb)
+ if (!HasFarJump && AFI->isLRSpilledForFarJump() && isThumb)
MadeChange |= UndoLRSpillRestore();
BBSizes.clear();