summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsISelLowering.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2011-12-20 23:47:44 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2011-12-20 23:47:44 +0000
commit43c1ff4db361625992e7a8537425df25c865bb91 (patch)
tree5eee4d24aa626a9763d8276bb365971763844546 /llvm/lib/Target/Mips/MipsISelLowering.cpp
parent79aed157e704f84b909faa465b90903ccebfd687 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud