diff options
author | Moritz Roth <moritz.roth@arm.com> | 2014-09-24 16:35:50 +0000 |
---|---|---|
committer | Moritz Roth <moritz.roth@arm.com> | 2014-09-24 16:35:50 +0000 |
commit | f5d0c7c2c038ea82df132aa28620d040de9f7276 (patch) | |
tree | ce2e1c677f873cbdf015f780049ea606c52930b7 /llvm/lib/Analysis/LoopPass.cpp | |
parent | 7f0786587f01336598d60a5be5ac3d8138846460 (diff) | |
download | bcm5719-llvm-f5d0c7c2c038ea82df132aa28620d040de9f7276.tar.gz bcm5719-llvm-f5d0c7c2c038ea82df132aa28620d040de9f7276.zip |
[Thumb] Make load/store optimizer less conservative.
If it's safe to clobber the condition flags, we can do a few extra things:
it's then possible to reset the base register writeback using a SUBS, so
we can try to merge even if the base register isn't dead after the merged
instruction.
This is effectively a (heavily bug-fixed) rewrite of r208992.
llvm-svn: 218386
Diffstat (limited to 'llvm/lib/Analysis/LoopPass.cpp')
0 files changed, 0 insertions, 0 deletions