]> git.ipfire.org Git - thirdparty/gcc.git/commit
Preserve ->move_dr behavior when adjusting epilogue info
authorRichard Biener <rguenther@suse.de>
Thu, 31 Oct 2024 10:51:16 +0000 (11:51 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 4 Nov 2024 11:24:42 +0000 (12:24 +0100)
commit223da6ac40cdd425ae16b787e2ca758ea665b75f
tree81e296add2b82d378ba3d3872437358f2cc3839e
parent6cbe075be7489c7ca2fa54e133e96ed1d1e64a93
Preserve ->move_dr behavior when adjusting epilogue info

When update_epilogue_loop_vinfo relates the shared loop DRs with
the epilogue stmts and infos it should not fiddle with how
pattern recognition applied move_dr.

* tree-vect-loop.cc (update_epilogue_loop_vinfo): A DRs
main stmt vinfo dr_aux should refer to a pattern stmt
which is how move_dr sets this up.  We shouldn't undo this.
gcc/tree-vect-loop.cc