https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91598
--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Maxim Kuvyrkov <mkuvyr...@gcc.gnu.org>: https://gcc.gnu.org/g:6d527883072ce96a33169036fca7740172223b52 commit r12-2946-g6d527883072ce96a33169036fca7740172223b52 Author: Maxim Kuvyrkov <maxim.kuvyr...@linaro.org> Date: Thu Aug 29 15:21:36 2019 +0000 Improve autoprefetcher heuristic (partly fix regression in PR91598) PR rtl-optimization/91598 * haifa-sched.c (autopref_rank_for_schedule): Prioritize "irrelevant" insns after memory reads and before memory writes.