diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2011-12-20 23:47:44 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2011-12-20 23:47:44 +0000 |
commit | 43c1ff4db361625992e7a8537425df25c865bb91 (patch) | |
tree | 5eee4d24aa626a9763d8276bb365971763844546 /llvm/lib/Target/Mips/MipsISelLowering.cpp | |
parent | 79aed157e704f84b909faa465b90903ccebfd687 (diff) | |
download | bcm5719-llvm-43c1ff4db361625992e7a8537425df25c865bb91.tar.gz bcm5719-llvm-43c1ff4db361625992e7a8537425df25c865bb91.zip |
Add definition of WSBH (Word Swap Bytes within Halfwords), which is an
instruction supported by mips32r2, and add a pattern which replaces bswap with
a ROTR and WSBH pair.
WSBW is removed since it is not an instruction the current architectures
support.
llvm-svn: 147015
Diffstat (limited to 'llvm/lib/Target/Mips/MipsISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions