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: Refactor gcc/tree-vectorize.c:vectorize_loops


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


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