[Patch, GCC] Fix a condition post r278611
Sudakshina Das
Sudi.Das@arm.com
Thu Dec 5 14:30:00 GMT 2019
Hi
While looking at vect_model_reduction_cost function, it seems Richard's
change in a recent commit r278611 missed an update to the following if
condition. Since the check for EXTRACT_LAST_REDUCTION is now split
above, the same check in the if condition will never be true.
gcc/ChangeLog
2019-xx-xx Sudakshina Das <sudi.das@arm.com>
* tree-vect-loop.c (vect_model_reduction_cost): Remove
reduction_type check from if condition.
Is this ok for trunk?
Thanks
Sudi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-cond.diff
Type: text/x-patch
Size: 604 bytes
Desc: fix-cond.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191205/6876dbb0/attachment.bin>
More information about the Gcc-patches
mailing list