[LLVMdev] an llvm-gcc bug

Chris Lattner sabre at nondot.org
Fri Feb 15 10:27:32 PST 2008


On Feb 15, 2008, at 10:23 AM, Devang Patel wrote:

>
> On Feb 15, 2008, at 10:08 AM, Chris Lattner wrote:
>
>>>> Alternatively I can take the Padding bit into account in the
>>>> StructType::get code somehow.  Anyone have a strong opinion?
>>>
>>> Shouldn't it be a map from the gcc type to the padding info?
>>> That said, you can get rid of the padding info as far as I'm
>>> concerned.  However Chris might have a different opinion - I
>>> think he introduced it.
>>
>> I don't think I introduced it (was it Devang?).
>
> Yup. PR 1278

Ok!  Can you please fix it to index by GCC type?  There is a many to  
one mapping between gcc types and llvm types.

-Chris



More information about the llvm-dev mailing list