https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95199
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Sandiford <rsand...@gcc.gnu.org>: https://gcc.gnu.org/g:4a31a8add56d49867c187d90b3a89e97634543c2 commit r11-1458-g4a31a8add56d49867c187d90b3a89e97634543c2 Author: Kaipeng Zhou <zhoukaipe...@huawei.com> Date: Wed Jun 17 20:19:16 2020 +0100 vect: CSE for bump and offset in strided load/store operations. Every time "vect_get_strided_load_store_ops" is called, new bump and offset variables and a series of stmts are created. And IVOPTs is not able to eliminate them. The patch use "cse_and_gimplify_to_preheader" to CSE them. 2020-06-17 Bin Cheng <bin.ch...@linux.alibaba.com> Kaipeng Zhou <zhoukaipe...@huawei.com> PR tree-optimization/95199 * tree-vect-stmts.c: Eliminate common stmts for bump and offset in strided load/store operations and remove redundant code. 2020-06-17 Bin Cheng <bin.ch...@linux.alibaba.com> Kaipeng Zhou <zhoukaipe...@huawei.com> PR tree-optimization/95199 * gcc.target/aarch64/sve/pr95199.c: New test.