[cfe-commits] r138599 - in /cfe/trunk: lib/CodeGen/CGCall.cpp lib/CodeGen/CGClass.cpp lib/CodeGen/CGDecl.cpp lib/CodeGen/CGDeclCXX.cpp lib/CodeGen/CGExpr.cpp lib/CodeGen/CGExprAgg.cpp lib/CodeGen/CGObjC.cpp lib/CodeGen/CGStmt.cpp lib/CodeGen/CGVa

John McCall rjmccall at apple.com
Thu Aug 25 16:20:45 PDT 2011


On Aug 25, 2011, at 4:08 PM, Eli Friedman wrote:

> On Thu, Aug 25, 2011 at 4:04 PM, John McCall <rjmccall at apple.com> wrote:
>> Author: rjmccall
>> Date: Thu Aug 25 18:04:34 2011
>> New Revision: 138599
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=138599&view=rev
>> Log:
>> Track whether an AggValueSlot is potentially aliased, and do not
>> emit call results into potentially aliased slots.  This allows us
>> to properly mark indirect return slots as noalias, at the cost
>> of requiring an extra memcpy when assigning an aggregate call
>> result into a l-value.  It also brings us into compliance with
>> the x86-64 ABI.
> 
> Does this fix PR10647 ?

Yep.

John.



More information about the cfe-commits mailing list