diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-08-11 21:11:32 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-08-11 21:11:32 +0000 |
commit | cc9ca3500d2e38ae4e01d16ca5beba2baeb75e89 (patch) | |
tree | d8a4672ce35f45361f3058c3a94c00d2d1832992 /llvm/lib/Target/ARM/ARMConstantIslandPass.cpp | |
parent | e43187185112d7ed81b9b2614e370a3507f4bf2a (diff) | |
download | bcm5719-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.cpp | 3 |
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) { |