[cfe-commits] r62933 - /cfe/trunk/lib/CodeGen/CGExprScalar.cpp
Chris Lattner
sabre at nondot.org
Sat Jan 24 13:16:24 PST 2009
On Jan 24, 2009, at 1:15 PM, Eli Friedman wrote:
> On Sat, Jan 24, 2009 at 1:09 PM, Chris Lattner <sabre at nondot.org>
> 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
More information about the cfe-commits
mailing list