[cfe-dev] preventing bitcast in generated code

Chris Lattner clattner at apple.com
Tue May 11 08:40:38 PDT 2010


On May 11, 2010, at 2:21 AM, Jochen Wilhelmy wrote:

> 
>> No.  These are memory sizes.  Memory is always in units of bytes.
>>   
> 
> Ok, having getBoolWidth and getBoolAlign 8 matches the
> "i1:8:8" part of the description string. But is it possible that i1 instead of i8 is used
> for the bool type? According to "i1:8:8" this still should be one byte but the difference
> is that the resulting code doesn't need to care about bit 1 to 7.

I don't think so, but try it out and see?

-Chris



More information about the cfe-dev mailing list