summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorLouis Gerbarg <lgg@apple.com>2014-05-12 19:53:52 +0000
committerLouis Gerbarg <lgg@apple.com>2014-05-12 19:53:52 +0000
commitefdcf23736c3d105d6b70597b4004aebb3e27c97 (patch)
treeee66b3a50ea7d5c35d11c5ff008a711c54d56f53 /llvm/lib/Analysis/ScalarEvolution.cpp
parentc5c1055e3fea3ca69b512c1cb6cf6595e9b42c5f (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud