The radeonsi backend already does this where possible. The glsl compiler front end is not currently thread safe, there have been a couple of attempts at this over the years but I don't think anyone is working on this currently.