jay: improve spiller debug

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41064>
This commit is contained in:
Alyssa Rosenzweig 2026-04-15 17:03:46 -04:00 committed by Marge Bot
parent d637554418
commit cd6c5a2f90

View file

@ -1561,7 +1561,9 @@ spill_file(jay_function *f, enum jay_file file, bool *spilled)
jay_calculate_register_demands(f);
if (f->demand[file] > limit) {
fprintf(stderr, "limit %u but demand %u\n", limit, f->demand[file]);
fprintf(stderr, "file %u, limit %u but demand %u\n", file, limit,
f->demand[file]);
fflush(stdout);
UNREACHABLE("spiller bug");
}