diff options
author | John Brawn <john.brawn@arm.com> | 2020-04-22 12:07:15 +0100 |
---|---|---|
committer | John Brawn <johbra01@e107984-lin.cambridge.arm.com> | 2020-04-22 14:50:42 +0100 |
commit | 8211cfb7c8bd1bedd5b3ed936d5b8f784c6bfd21 (patch) | |
tree | 0c0dae2b43d983aa103ec21d5b8c4618acb853cb /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 41d52662d54b693c417cb0f6eb8a768672f58a8e (diff) | |
download | llvm-8211cfb7c8bd1bedd5b3ed936d5b8f784c6bfd21.zip llvm-8211cfb7c8bd1bedd5b3ed936d5b8f784c6bfd21.tar.gz llvm-8211cfb7c8bd1bedd5b3ed936d5b8f784c6bfd21.tar.bz2 |
[ARM] Don't shrink STM if it would cause an unknown base register store
If a 16-bit thumb STM with writeback stores the base register but it isn't the
first register in the list, then an unknown value is stored. The load/store
optimizer knows this and generates a 32-bit STM without writeback instead, but
thumb2 size reduction converts it into a 16-bit STM. Fix this by having thumb2
size reduction notice such STMs and leave them as they are.
Differential Revision: https://reviews.llvm.org/D78493
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions