[PATCH] Teach DeadArgElimination not to eliminate return values of functions with 'returned' arguments

Chris Lattner clattner at apple.com
Wed Jun 26 15:56:20 PDT 2013


On Jun 26, 2013, at 12:58 PM, Evan Cheng <evan.cheng at apple.com> wrote:

>> The 'returned' attribute is interprocedural register allocation done at the IR level, encoded with parameter attributes.
>> 
>> This is a major architectural change to llvm. I don't think anybody realized the implications of the 'returned' patch when it was under review.
> 
> FYI, this was discussed inside the Apple team and Chris has approved this approach. 

Uh, what?  While I'm a big fan of the "returned" attribute (in that it can model some cool optimizations) I didn't "ok" charging ahead against the feeling of the community.

-Chris




More information about the llvm-commits mailing list