r600/sfn: Print more info if scheduling fails

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24212>
This commit is contained in:
Gert Wollny 2023-07-17 17:36:32 +02:00 committed by Marge Bot
parent 2a9348967a
commit f48aa460a2

View file

@ -446,7 +446,11 @@ BlockScheduler::schedule_block(Block& in_block,
if (!cir.alu_vec.empty()) {
std::cerr << "Unscheduled ALU vec ops:\n";
for (auto& a : cir.alu_vec) {
std::cerr << " " << *a << "\n";
std::cerr << " [" << a->block_id() << ":"
<< a->index() <<"]:" << *a << "\n";
for (auto& d : a->required_instr())
std::cerr << " R["<< d->block_id() << ":" << d->index() <<"]:"
<< *d << "\n";
}
fail = true;
}
@ -454,7 +458,10 @@ BlockScheduler::schedule_block(Block& in_block,
if (!cir.alu_trans.empty()) {
std::cerr << "Unscheduled ALU trans ops:\n";
for (auto& a : cir.alu_trans) {
std::cerr << " " << *a << "\n";
std::cerr << " " << " [" << a->block_id() << ":"
<< a->index() <<"]:" << *a << "\n";
for (auto& d : a->required_instr())
std::cerr << " R:" << *d << "\n";
}
fail = true;
}