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:

committed by
Marge Bot

parent
f083df8710
commit
29a778fa6b
@@ -5908,6 +5908,10 @@ fs_visitor::nir_emit_intrinsic(const fs_builder &bld, nir_intrinsic_instr *instr
|
|||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
#ifndef NDEBUG
|
||||||
|
assert(instr->intrinsic < nir_num_intrinsics);
|
||||||
|
fprintf(stderr, "intrinsic: %s\n", nir_intrinsic_infos[instr->intrinsic].name);
|
||||||
|
#endif
|
||||||
unreachable("unknown intrinsic");
|
unreachable("unknown intrinsic");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user