[PATCH] [AArch64] Add patterns to match normal shift nodes: shl, sra, srl
Hao.Liu at arm.com
Thu Dec 19 02:12:36 PST 2013
Hi Tim and reviewers,
This patch fixes the problem that we can't select shl/sra/srl nodes. Match shl to USHL instructions. Match sra/srl to NEG and SSHL/USHL instructions (negative shift amounts for SSHL/USHL means right shfit). This solution is the same as ARM backend.
Code review. Please.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9050 bytes
Desc: not available
More information about the llvm-commits