[LLVMdev] 64-bit Attributes?

Chris Lattner clattner at apple.com
Thu Jan 12 13:25:04 PST 2012


On Jan 12, 2012, at 1:03 PM, Anton Korobeynikov wrote:

> Hi Kostya,
> 
>> How about implementing Attributes as a class with 64-bit integer under the
>> hood?
>> This will protect us from erroneous casts to/from 32-bit unsigned.
>> I have a change half-done but I want to know llvmdev's opinion before
>> proceeding.
> Yes, this sounds like a proper approach. Which will allow us to switch
> over other implementation of attributes, if necessary.

+1  :)

-Chris



More information about the llvm-dev mailing list