On 09/06/2016 12:53 PM, Bin Cheng wrote:
Hi,
For loops which are bounded to iterate only 1 time (thus loop's latch doesn't
roll), there is nothing to predictive common, this patch detects/skips these
cases. A test is also added in
gcc/testsuite/gfortran.dg/vect/fast-math-mgrid-resid.f for this.
Thanks,
bin
2016-09-01 Bin Cheng <bin.ch...@arm.com>
* tree-predcom.c (tree_predictive_commoning_loop): Skip loop that only
iterates 1 time.
gcc/testsuite/ChangeLog
2016-09-01 Bin Cheng <bin.ch...@arm.com>
* gfortran.dg/vect/fast-math-mgrid-resid.f: New test string.
OK.
jeff