Did you know ROCm has native GCN ISA compilation foundation? Also did you know we have solid fully open source llvm foundation and core documentation to develop your own compiler?
ROCm compiler foundation can be used to build static and dynamic compiler