diff options
author | Louis Gerbarg <lgg@apple.com> | 2014-05-12 19:53:52 +0000 |
---|---|---|
committer | Louis Gerbarg <lgg@apple.com> | 2014-05-12 19:53:52 +0000 |
commit | efdcf23736c3d105d6b70597b4004aebb3e27c97 (patch) | |
tree | ee66b3a50ea7d5c35d11c5ff008a711c54d56f53 /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | c5c1055e3fea3ca69b512c1cb6cf6595e9b42c5f (diff) | |
download | bcm5719-llvm-efdcf23736c3d105d6b70597b4004aebb3e27c97.tar.gz bcm5719-llvm-efdcf23736c3d105d6b70597b4004aebb3e27c97.zip |
Add support bswap16 to/from memory compiling to rev16 on ARM/Thumb
The current patterns for REV16 misses mostn __builtin_bswap16() due to
legalization promoting the operands to from load/stores toi32s and then
truncing/extending them. This patch adds new patterns that catch the resultant
DAGs and codegens them to rev16 instructions. Tests included.
rdar://15353652
llvm-svn: 208620
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions