This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, PR 32824] Add an additional LIM pass to assist dead code elimination


On Wed, Mar 17, 2010 at 12:39, Richard Guenther
<richard.guenther@gmail.com> wrote:
> On Wed, Mar 17, 2010 at 6:03 PM, Fang, Changpeng <Changpeng.Fang@amd.com> wrote:
>> Hi,
>> ?I have updated the patch to move the existing LIM pass before copyprop/dce in the loop optimizer.
>> This patch helps eliminate dead code and make the reduction statement vectorizable when the reduction
>> variable is global. The patch fixes PR 32824.
>>
>> Note that the problem reported in PR32824 is very popular in fortran code. I am working on Levine benchmark
>> and found that there are at least 9 such cases.
>>
>> This patch passed bootstrapping and regression tests. I also tested on spec cpu2006 and found there is no
>> performance impact.
>>
>> Is it OK for the trunk?
>
> It is ok once stage1 opens.

I will add the testcase from the PR32824
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32824
with an appropriate pattern to test for vectorization.

Sebastian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]