ROCM target fails with LLVM ERROR

By using main branch with upstream llvm-13 and changing getBaseName to getName it is working as expected. Thank you @masahi for your inputs.