Skip to content
Commit f258a15b authored by Evan Cheng's avatar Evan Cheng
Browse files

Canonicalize (srl (bswap x), 16) to (rotr (bswap x), 16) if the high 16 bits

of x are zero. This optimizes rev + lsr 16 to rev16.

rdar://10750814

llvm-svn: 151230
parent 91f5ae50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment