]> gcc.gnu.org Git - gcc.git/commit
middle-end/101291 - set loop copy of versioned loop
authorRichard Biener <rguenther@suse.de>
Mon, 5 Jul 2021 09:53:07 +0000 (11:53 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 5 Jul 2021 10:51:52 +0000 (12:51 +0200)
commit38872c6c0db1b10b17d3913b277c499913208d0b
treea087fa7566028ee8ae1fd2215c3163af242f28da
parentccb4e0774b3e5859ea1d7f1864b02fa5826c4a79
middle-end/101291 - set loop copy of versioned loop

This fixes the vectorizer loop versioning code failing to clear
niter related info on the scalar loop as it assumed get_loop_copy
would work even for the outermost loop.  The patch makes that
assumption hold by adjusting the loop versioning code.

2021-07-05  Richard Biener  <rguenther@suse.de>

PR middle-end/101291
* cfgloopmanip.c (loop_version): Set the loop copy of the
versioned loop to the new loop.
gcc/cfgloopmanip.c
This page took 0.062785 seconds and 6 git commands to generate.