[llvm] r201085 - ARM: use LLVM IR to represent the vshrn operation

Renato Golin renato.golin at linaro.org
Mon Feb 10 07:16:23 PST 2014


On 10 February 2014 14:04, Tim Northover <tnorthover at apple.com> wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=201085&view=rev
> Log:
> ARM: use LLVM IR to represent the vshrn operation
>
> vshrn is just the combination of a right shift and a truncate (and the limits
> on the immediate value actually mean the signedness of the shift doesn't
> matter). Using that representation allows us to get rid of an ARM-specific
> intrinsic, share more code with AArch64 and hopefully get better code out of
> the mid-end optimisers.


Nice!

--renato



More information about the llvm-commits mailing list