summaryrefslogtreecommitdiffstats
path: root/src/broadcom/compiler/vir_live_variables.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-03-14 11:03:23 -0700
committerEric Anholt <[email protected]>2018-03-19 16:44:20 -0700
commit00910e3057588de3fe9b5dc2ae9263c2e4ba6cc4 (patch)
tree351a547518d1fc02b588d947408286ed87f244c3 /src/broadcom/compiler/vir_live_variables.c
parentfacc3c6f58de88ac3707a1b8435b7fc655d13124 (diff)
broadcom/vc5: Don't annotate dumps with stale live intervals.
As you're debugging register allocation, you may have changed the intervals and not recomputed yet. Just skip the dump in that case.
Diffstat (limited to 'src/broadcom/compiler/vir_live_variables.c')
-rw-r--r--src/broadcom/compiler/vir_live_variables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/broadcom/compiler/vir_live_variables.c b/src/broadcom/compiler/vir_live_variables.c
index 20acace1faf..019cde14567 100644
--- a/src/broadcom/compiler/vir_live_variables.c
+++ b/src/broadcom/compiler/vir_live_variables.c
@@ -347,4 +347,6 @@ vir_calculate_live_intervals(struct v3d_compile *c)
;
vir_compute_start_end(c, c->num_temps);
+
+ c->live_intervals_valid = true;
}