[llvm-commits] [llvm-gcc] Cumulative Patch for Arbitrary BitWidth Integers (please commit)

Chris Lattner clattner at apple.com
Thu Jan 11 23:33:42 PST 2007


On Jan 11, 2007, at 11:31 PM, Reid Spencer wrote:

> On Thu, 2007-01-11 at 23:23 -0800, Chris Lattner wrote:
>
>> Your generalization to support variable int types wouldn't work
>> anyway, so I just switch on valid widths.

> Nothing could generate the non-byte-width integer types
> yet anyway.

Agreed.

> It wasn't wrong.

Not agreed.  If you managed to get a bswap of i7, you can't just make  
llvm.bswap.i8 with i7 argument and result.  You need to insert  
explicit casts.

-Chris




More information about the llvm-commits mailing list