[LLVMdev] rotate

Chris Lattner clattner at apple.com
Tue Jul 31 10:58:27 PDT 2012


On Jul 31, 2012, at 3:04 AM, Andy Gibbs <andyg1001 at hotmail.co.uk> wrote:

> On Monday, July 30, 2012 12:16 AM, Cameron McInally wrote:
>> 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.
> 
> Yes, I would be interested.  Thank you!  I don't know if was rejected before
> that I'll have any better luck this time, but I can try…

Why do we need a new builtin for rotates?  What problem does it solve?

-Chris



More information about the llvm-dev mailing list