On Thu, Mar 8, 2012 at 8:13 AM, Jiangning Liu wrote:
>
>
>> -Original Message-
>> From: Richard Guenther [mailto:richard.guent...@gmail.com]
>> Sent: Tuesday, March 06, 2012 9:12 PM
>> To: Jiangning Liu
>> Cc: gcc-patches@gcc.gnu.org
>> Subject:
> -Original Message-
> From: Richard Guenther [mailto:richard.guent...@gmail.com]
> Sent: Tuesday, March 06, 2012 9:12 PM
> To: Jiangning Liu
> Cc: gcc-patches@gcc.gnu.org
> Subject: Re: [PATCH] Improve SCEV for array element
>
> On Fri, Jan 20, 2012 at 10:06 AM
On Fri, Jan 20, 2012 at 10:06 AM, Jiangning Liu wrote:
>> It's definitely not ok at this stage but at most for next stage1.
>
> OK. I may wait until next stage1.
>
>> This is a very narrow pattern-match. It doesn't allow for &a[i].x for
>> example,
>> even if a[i] is a one-element structure. I t
Guenther'
>> Cc: gcc-patches@gcc.gnu.org
>> Subject: RE: [PATCH] Improve SCEV for array element
>>
>> > It's definitely not ok at this stage but at most for next stage1.
>>
>> OK. I may wait until next stage1.
>>
>> > This is a ve
> -Original Message-
> From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-
> ow...@gcc.gnu.org] On Behalf Of Jiangning Liu
> Sent: Friday, January 20, 2012 5:07 PM
> To: 'Richard Guenther'
> Cc: gcc-patches@gcc.gnu.org
> Subject: RE: [PATCH]
> It's definitely not ok at this stage but at most for next stage1.
OK. I may wait until next stage1.
> This is a very narrow pattern-match. It doesn't allow for &a[i].x for
> example,
> even if a[i] is a one-element structure. I think the canonical way of
> handling
> ADDR_EXPR is to use sth l
On Wed, Jan 18, 2012 at 8:41 AM, Jiangning Liu wrote:
> This code change intends to improve scev for array element and reduce the
> common sub-expressions in loop, which may be introduced by multiple
> reference of expression like &a[i]. With this optimization the register
> pressure can be reduce
This code change intends to improve scev for array element and reduce the
common sub-expressions in loop, which may be introduced by multiple
reference of expression like &a[i]. With this optimization the register
pressure can be reduced in loops.
The problem is originally from a real benchmark,
This code change intends to improve scev for array element and reduce the
common sub-expressions in loop, which may be introduced by multiple
reference of expression &a[i]. In the end the register pressure may be
reduced in the loop. The test case is simplified from a real benchmark, and
only want