What version of LLVM are you using? I could not reproduce the issue on my Vega 64 with the development version of LLVM 9.0.0.