I think this thread is about a solution to the problem of multiple LLVM libs: Making LLVM play nice(r) when used as a shared library in a plugin setting
If I remember correctly, linking LLVM statically also solves the symptoms, so to solve your concrete case, if you link LLVM statically in ROCm, blender should be fine (loading llvm dynamically from mesa and statically from ROCm).