Improve diff-ability of scheduler logs

* haifa-sched.c (advance_one_cycle): Output more context-synchronization
	lines for diff.
This commit is contained in:
Maxim Kuvyrkov 2019-08-29 15:27:30 +00:00
parent 75b1c75313
commit 92aadbd593
1 changed files with 4 additions and 2 deletions

View File

@ -3155,9 +3155,11 @@ advance_state (state_t state)
HAIFA_INLINE static void
advance_one_cycle (void)
{
int i;
advance_state (curr_state);
if (sched_verbose >= 4)
fprintf (sched_dump, ";;\tAdvance the current state.\n");
for (i = 4; i <= sched_verbose; ++i)
fprintf (sched_dump, ";;\tAdvance the current state: %d.\n", clock_var);
}
/* Update register pressure after scheduling INSN. */