[llvm-commits] [llvm] r48727 - in /llvm/trunk: include/llvm/Instructions.h lib/VMCore/Instructions.cpp

Dan Gohman gohman at apple.com
Mon Mar 24 11:23:26 PDT 2008


On Mar 24, 2008, at 10:43 AM, Duncan Sands wrote:
> Hi Dan,
>
>> Shrink the size of AllocationInst by using its SubclassData
>> field to store the alignment value instead of haing a
>> separate field.
>
> what is the maximum alignment that this can handle?


Probably 1<<31, but that's independent of this change; it's due
to the use of unsigned int to hold alignment values everywhere.
The value inside AllocationInst is now stored in log2 format,
so the maximum value of 1<<65534 shouldn't be limiting any
time soon :-).

Dan




More information about the llvm-commits mailing list