diff options
author | Richard Biener <rguenther@suse.de> | 2024-11-04 13:03:33 +0100 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-11-07 13:49:08 +0100 |
commit | 76048bd0693e30a5abc67aa6dcce9f4973ea208e (patch) | |
tree | b085c6128cf5f2078a6fe7588c9c9e1b52205a8f /gcc/tree-vectorizer.h | |
parent | 0dadf022de293c202ab21b0aeed7c9a4511f57d5 (diff) | |
download | gcc-76048bd0693e30a5abc67aa6dcce9f4973ea208e.zip gcc-76048bd0693e30a5abc67aa6dcce9f4973ea208e.tar.gz gcc-76048bd0693e30a5abc67aa6dcce9f4973ea208e.tar.bz2 |
Check LOOP_VINFO_PEELING_FOR_GAPS on epilog is supported
We need to check that an epilogue doesn't require LOOP_VINFO_PEELING_FOR_GAPS
in case the main loop didn't (the other way around is OK), the
computation whether the epilog is executed or not gets our of sync
otherwise.
* tree-vect-loop.cc (vect_analyze_loop_2): Move
vect_analyze_loop_costing after check whether we can do
peeling. Add check on LOOP_VINFO_PEELING_FOR_GAPS for
epilogues.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions