(original) (raw)

Hey Andy,


I proposed a similar patch to LLVM (left circular shift) around 10/2011. Parts of my patch did make it into trunk about a year after, but others did not.�

At that time, my solution was to add a binary operator to the IRBuilder, since LCS fits in nicely with the other shift operators. But, it is quite cumbersome to merge :*(. I would be happy to resend the original patch if you'd like.


-Cameron

On Sun, Jul 29, 2012 at 4:02 PM, Andy Gibbs <andyg1001@hotmail.co.uk> wrote:
...�
�It would be nice to have a \_\_builtin\_rotl family in clang, in
my opinion, but it would need back-end support from llvm.�