diff options
author | David Green <david.green@arm.com> | 2019-01-29 10:40:31 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2019-01-29 10:40:31 +0000 |
commit | 54b011554715919de3f277e8dc1bf500f5b2b32c (patch) | |
tree | 2a6532946f6ca531a2ea80f449646a96dc408bab /llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp | |
parent | 0b7fce6d72f54c5c45aa98e1cee938b6c2b64303 (diff) | |
download | bcm5719-llvm-54b011554715919de3f277e8dc1bf500f5b2b32c.tar.gz bcm5719-llvm-54b011554715919de3f277e8dc1bf500f5b2b32c.zip |
[ARM] Use sub for negative offset load/store in thumb1
This attempts to optimise negative values used in load/store operands
a little. We currently try to selct them as rr, materialising the
negative constant using a MOV/MVN pair. This instead selects ri with
an immediate of 0, forcing the add node to become a simpler sub.
Differential Revision: https://reviews.llvm.org/D57121
llvm-svn: 352475
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp')
0 files changed, 0 insertions, 0 deletions