summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-08-11 21:11:32 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-08-11 21:11:32 +0000
commitcc9ca3500d2e38ae4e01d16ca5beba2baeb75e89 (patch)
treed8a4672ce35f45361f3058c3a94c00d2d1832992 /llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
parente43187185112d7ed81b9b2614e370a3507f4bf2a (diff)
downloadbcm5719-llvm-cc9ca3500d2e38ae4e01d16ca5beba2baeb75e89.tar.gz
bcm5719-llvm-cc9ca3500d2e38ae4e01d16ca5beba2baeb75e89.zip
Shrinkify Thumb2 load / store multiple instructions.
llvm-svn: 78717
Diffstat (limited to 'llvm/lib/Target/ARM/ARMConstantIslandPass.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMConstantIslandPass.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
index d88d5e7d8e3..1491569c7e3 100644
--- a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
@@ -1333,7 +1333,8 @@ ARMConstantIslands::FixUpConditionalBr(MachineFunction &MF, ImmBranch &Br) {
}
/// UndoLRSpillRestore - Remove Thumb push / pop instructions that only spills
-/// LR / restores LR to pc.
+/// LR / restores LR to pc. FIXME: This is done here because it's only possible
+/// to do this if tBfar is not used.
bool ARMConstantIslands::UndoLRSpillRestore() {
bool MadeChange = false;
for (unsigned i = 0, e = PushPopMIs.size(); i != e; ++i) {
OpenPOWER on IntegriCloud