https://bugs.freedesktop.org/show_bug.cgi?id=79462
--- Comment #1 from Ilia Mirkin <[email protected]> --- The below patch helps avoid the crash, but it still still generate incorrect code. I think there are a few issues here, and I'll have to think a little harder about how to properly resolve them. diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp index 5ab6570..89c83cb 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp @@ -1576,7 +1576,8 @@ SpillCodeInserter::run(const std::list<ValuePair>& lst) assert(defi); if (defi->isPseudo()) { - d = lval->defs.erase(d); + while (d != lval->defs.end() && (*d)->getInsn() == defi) + d = lval->defs.erase(d); --d; if (slot->reg.file == FILE_MEMORY_LOCAL) delete_Instruction(func->getProgram(), defi); -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau
