diff options
author | Oliver Stannard <oliver.stannard@arm.com> | 2015-11-10 11:04:18 +0000 |
---|---|---|
committer | Oliver Stannard <oliver.stannard@arm.com> | 2015-11-10 11:04:18 +0000 |
commit | d414c99b9c20e2ff96524c015699f6bc6f71a888 (patch) | |
tree | 10479f0b59e665d073cba532859ef0602fe0b6c2 /libcxx/test/std/strings/basic.string/string.access | |
parent | bf5210f8ed44bda0a4329c9c3b02ab773491781a (diff) | |
download | bcm5719-llvm-d414c99b9c20e2ff96524c015699f6bc6f71a888.tar.gz bcm5719-llvm-d414c99b9c20e2ff96524c015699f6bc6f71a888.zip |
[AArch64] Fix halfword load merging for big-endian targets
For big-endian targets, when we merge two halfword loads into a word load, the
order of the halfwords in the loaded value is reversed compared to
little-endian, so the load-store optimiser needs to swap the destination
registers.
This does not affect merging of two word loads, as we use ldp, which treats the
memory as two separate 32-bit words.
llvm-svn: 252597
Diffstat (limited to 'libcxx/test/std/strings/basic.string/string.access')
0 files changed, 0 insertions, 0 deletions