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:
parent
d37ebed470
commit
b8c524ff88
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue