aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/module.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2018-09-20 12:58:23 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2018-09-20 12:58:23 +0000
commit2d2ee18641557deba692c286cbc2d8751310f697 (patch)
treed8c4f81ba2a6850b20fcfc807b297787b0a8afe3 /gcc/fortran/module.c
parent508a909eca536f7f6a60af9bd7ecea761bd2e8f1 (diff)
downloadgcc-2d2ee18641557deba692c286cbc2d8751310f697.zip
gcc-2d2ee18641557deba692c286cbc2d8751310f697.tar.gz
gcc-2d2ee18641557deba692c286cbc2d8751310f697.tar.bz2
Fix PEELING_FOR_NITERS calculation (PR 87288)
PEELING_FOR_GAPS now means "peel one iteration for the epilogue", in much the same way that PEELING_FOR_ALIGNMENT > 0 means "peel that number of iterations for the prologue". We weren't taking this into account when deciding whether we needed to peel further scalar iterations beyond the iterations for "gaps" and "alignment". Only the first test failed before the patch. The other two are just for completeness. 2018-09-20 Richard Sandiford <richard.sandiford@arm.com> gcc/ PR tree-optimization/87288 * tree-vect-loop.c (vect_analyze_loop_2): Take PEELING_FOR_GAPS into account when determining PEELING_FOR_NITERS. gcc/testsuite/ PR tree-optimization/87288 * gcc.dg/vect/pr87288-1.c: New test. * gcc.dg/vect/pr87288-2.c: Likewise, * gcc.dg/vect/pr87288-3.c: Likewise. From-SVN: r264440
Diffstat (limited to 'gcc/fortran/module.c')
0 files changed, 0 insertions, 0 deletions