[trans-mem] do not go through the run-time for clone calls

Aldy Hernandez aldyh@redhat.com
Mon Feb 21 15:33:00 GMT 2011


On 02/16/11 13:23, Richard Henderson wrote:
> On 02/16/2011 08:59 AM, Aldy Hernandez wrote:
>> And now for the actual optimization...
>>
>> There is no need to go through the run-time when calling a clone.  We can just call the clone directly.
>>
>> OK?
>
> I think this is a lot closer to correct.  In the process I found some bits
> that look... odd to say the least.
>

Funny how we're moving all the logic back into 
ipa_tm_transform_calls_redirect().  I should've left 
ipa_tm_transform_calls_1() alone :).

Thanks for looking into this.  I have tested your patch, and added a 
changelog entry.  Below is the patch I am committing.

Aldy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: curr
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110221/946175f7/attachment.ksh>


More information about the Gcc-patches mailing list