This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove dead code from graphite-optimize-isl.c
- From: Tobias Grosser <tobias at grosser dot es>
- To: Aditya Kumar <aditya dot k7 at samsung dot com>, gcc-patches at gcc dot gnu dot org
- Cc: richard dot guenther at gmail dot com, s dot pop at samsung dot com, sebpop at gmail dot com
- Date: Fri, 11 Sep 2015 20:18:37 +0200
- Subject: Re: [PATCH] Remove dead code from graphite-optimize-isl.c
- Authentication-results: sourceware.org; auth=none
- References: <1441992571-20246-1-git-send-email-aditya dot k7 at samsung dot com>
On 09/11/2015 07:29 PM, Aditya Kumar wrote:
The variable `static bool enable_polly_vector' is always assigned to false. This results in dead code in optimize-isl.c.
Removing the dead code. No functional change intended.
Fine with me as well. This code is used in Polly to enable outer loop vectorization with Polly.
It was historically disabled in gcc, as we missed heuristics to drive this. Again, it might
be worth looking into Polly's version of this code, which now works on schedule trees and
which is now a lot easier to read and work with.
Best,
Tobias