This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Refactor gcc/tree-vectorize.c:vectorize_loops
- From: Jeff Law <law at redhat dot com>
- To: Aditya K <hiraditya at msn dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 28 Apr 2015 21:53:24 -0600
- Subject: Re: Refactor gcc/tree-vectorize.c:vectorize_loops
- Authentication-results: sourceware.org; auth=none
- References: <BLU179-W723E058CE4B94E41212974B6D70 at phx dot gbl>
On 04/28/2015 08:20 PM, Aditya K wrote:
Hi,
This is a small patch where I moved a portion of code from the function vectorize_loops outside to improve readability.
Please see the patch attached and give comments for improvements.
You need to add a comment for the new function. These function comments
should describe what the function does, in terms of its arguments and
return value (if any).
With a function comment, this refactoring would be fine.
jeff