lima/ir: print names of unsupported intrinsics
While lima still doesn't support some kinds of intrinsics, it is more helpful to display the name of the unsupported instr->intrinsic to make debugging easier. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Reviewed-by: Qiang Yu <yuq825@gmail.com>
This commit is contained in:
@@ -201,7 +201,8 @@ static bool gpir_emit_intrinsic(gpir_block *block, nir_instr *ni)
|
||||
return true;
|
||||
}
|
||||
default:
|
||||
gpir_error("unsupported nir_intrinsic_instr %d\n", instr->intrinsic);
|
||||
gpir_error("unsupported nir_intrinsic_instr %s\n",
|
||||
nir_intrinsic_infos[instr->intrinsic].name);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user