Skip to content
Commit 43c1ff4d authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

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
parent 79aed157
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment