After recent updates, tree-vect-loop.c is in the same state as when this cleanup
patch was first written and approved, so I've just pushed it as r/217580.
Cheers,
Alan
Richard Biener wrote:
On Thu, Sep 18, 2014 at 2:48 PM, Alan Lawrence <alan.lawre...@arm.com> wrote:
Following earlier patches, vect_create_epilog_for_reduction contains exactly
one case where extract_scalar_result==true. Hence, move the code 'if
(extract_scalar_result)' there, and tidy-up/remove some variables.
bootstrapped on x86_64-none-linux-gnu + check-gcc + check-g++.
Ok.
Thanks,
Richard.
gcc/ChangeLog:
* tree-vect-loop.c (vect_create_epilog_for_reduction): Move code for
'if (extract_scalar_result)' to the only place that it is true.