nv50/ir: always display the opcode number for unknown instructions

This helps in debugging unknown instructions.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
Samuel Pitoiset 2015-11-29 16:04:11 +01:00
parent d37ebed470
commit b8c524ff88
2 changed files with 2 additions and 2 deletions

View File

@ -1930,7 +1930,7 @@ CodeEmitterGK110::emitInstruction(Instruction *insn)
ERROR("operation should have been lowered\n");
return false;
default:
ERROR("unknow op\n");
ERROR("unknown op: %u\n", insn->op);
return false;
}

View File

@ -2566,7 +2566,7 @@ CodeEmitterNVC0::emitInstruction(Instruction *insn)
ERROR("operation should have been lowered\n");
return false;
default:
ERROR("unknow op\n");
ERROR("unknown op: %u\n", insn->op);
return false;
}