RFC: allow some intrinsics in static eval context