[all-commits] [llvm/llvm-project] 92d8ad: [HIP] Fix rocm not found on rocm3.5

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Thu Jun 18 05:40:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 92d8ad02e92fed3884169ba5d98056fe4fa5660d
      https://github.com/llvm/llvm-project/commit/92d8ad02e92fed3884169ba5d98056fe4fa5660d
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2020-06-18 (Thu, 18 Jun 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp

  Log Message:
  -----------
  [HIP] Fix rocm not found on rocm3.5

Currently rocm detector expects device library bitcodes named as *.bc
instead of *.amdgcn.bc. However in rocm3.5 the device library bitcodes
are named as *.amdgcn.bc, which causes rocm3.5 not detected.

This patch fixes that.

Differential Revision: https://reviews.llvm.org/D81713




More information about the All-commits mailing list