[llvm-commits] [PATCH] Recognise 32-bit ror-based bswap implementation used by uclibc

Peter Collingbourne peter at pcc.me.uk
Sat Nov 13 11:58:35 PST 2010


On Fri, Nov 12, 2010 at 04:30:45PM -0800, Chris Lattner wrote:
> 
> On Oct 29, 2010, at 11:47 AM, Peter Collingbourne wrote:
> 
> > Hi,
> > 
> > This patch series adds support for uclibc's 32-bit bswap implementation
> > to X86TargetLowering::ExpandInlineAsm (actually its fallback for <486
> > processors, but what you get without any target compiler flags).
> 
> Sure, looks fine to me.

Applied as r119006-7.

> Please file a bug against uclibc's bug tracker to ask them to move to __builtin_bswap (which has existed since gcc 4.2), thanks!

I'll let them know about it.

Thanks,
-- 
Peter



More information about the llvm-commits mailing list