On Mon, 15 Oct 2018, Robin Dapp wrote: > * haifa-sched.c (priority): Add force_recompute parameter. > (apply_replacement): > Call priority () with force_recompute = true. > (restore_pattern): Likewise.
A C++ style nit/question: instead of adding a new overload priority (rtx_insn *, bool) you can add a parameter with a default value in the existing static function priority (rtx_insn *insn, bool force_recompute = false) unless I'm missing something and the new overload is on purpose? Alexander