[LLVMdev] 64-bit Attributes?

Anton Korobeynikov anton at korobeynikov.info
Thu Jan 12 13:03:33 PST 2012


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.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list