On Jan 24, 2009, at 1:15 PM, Eli Friedman wrote:

> On Sat, Jan 24, 2009 at 1:09 PM, Chris Lattner <[email protected]>  
> wrote:
>> Author: lattner
>> Date: Sat Jan 24 15:09:45 2009
>> New Revision: 62933
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=62933&view=rev
>> Log:
>> remove a bunch of alignment handling code out of CGExprScalar, since
>> alignment must always be a constant.  Just let the constant folder
>> do it.
>
> Hmm, we might as well let the constant folder handle sizeof as well
> for cases other than VLAs.

Sure, go for it.  I'm just trying ot make alignof somewhat consistent  
between sema and codegen.

-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to