aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-10-20 12:58:22 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-10-20 12:58:22 +0000
commitfa0c8df71d4f0476834db0b7cd88524878b46cf7 (patch)
tree1308c01dcb8bc9938758c3c6bab4f813000992fe /gcc/testsuite
parentb4edf5c524fd0d8fef50f991ce876c6eb5ed3a28 (diff)
downloadgcc-fa0c8df71d4f0476834db0b7cd88524878b46cf7.zip
gcc-fa0c8df71d4f0476834db0b7cd88524878b46cf7.tar.gz
gcc-fa0c8df71d4f0476834db0b7cd88524878b46cf7.tar.bz2
Avoid recomputing data references in BB SLP
If the first attempt at applying BB SLP to a region fails, the main loop in vect_slp_bb recomputes the region's bounds and datarefs for the next vector size. AFAICT this isn't needed any more; we should be able to reuse the datarefs from the first attempt instead. 2019-10-20 Richard Sandiford <richard.sandiford@arm.com> gcc/ * tree-vect-slp.c (vect_slp_analyze_bb_1): Call save_datarefs when processing the given datarefs for the first time and check_datarefs subsequently. (vect_slp_bb_region): New function, split out of... (vect_slp_bb): ...here. Don't recompute the region bounds and dataref sets when retrying with a different vector size. From-SVN: r277210
Diffstat (limited to 'gcc/testsuite')
0 files changed, 0 insertions, 0 deletions