Certainly the jobs that were around for bespoke compilers were eliminated with the unification of compilers (GCC, Microsoft Visual C++). How many of those people transitioned to other roles I don't know. But the number of compiler jobs has been declining forever at this point.