nir/search: fix nir_replace_instr() debug code

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27335>
This commit is contained in:
Rhys Perry 2024-01-26 19:53:13 +00:00 committed by Marge Bot
parent a93bd52f4f
commit beb07fafba

View file

@ -697,9 +697,9 @@ nir_replace_instr(nir_builder *build, nir_alu_instr *instr,
#if 0
fprintf(stderr, "matched: ");
dump_value(&search->value);
dump_value(table, &search->value);
fprintf(stderr, " -> ");
dump_value(replace);
dump_value(table, replace);
fprintf(stderr, " ssa_%d\n", instr->def.index);
#endif