intel/compiler: print name of the unhandled intrinsic

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16493>
This commit is contained in:
Marcin Ślusarz 2022-04-25 10:55:06 +02:00 committed by Marge Bot
parent f083df8710
commit 29a778fa6b
1 changed files with 4 additions and 0 deletions

View File

@ -5908,6 +5908,10 @@ fs_visitor::nir_emit_intrinsic(const fs_builder &bld, nir_intrinsic_instr *instr
}
default:
#ifndef NDEBUG
assert(instr->intrinsic < nir_num_intrinsics);
fprintf(stderr, "intrinsic: %s\n", nir_intrinsic_infos[instr->intrinsic].name);
#endif
unreachable("unknown intrinsic");
}
}