[all-commits] [llvm/llvm-project] 235fb7: AMDGPU/OpenCL: Accept -nostdlib in place of -nogpulib

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu May 14 09:33:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 235fb7dc24b1cf7034dfc76bb853ffb4ac5dec5d
      https://github.com/llvm/llvm-project/commit/235fb7dc24b1cf7034dfc76bb853ffb4ac5dec5d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-05-14 (Thu, 14 May 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    A clang/test/Driver/rocm-detect.hip
    M clang/test/Driver/rocm-not-found.cl

  Log Message:
  -----------
  AMDGPU/OpenCL: Accept -nostdlib in place of -nogpulib

-nogpulib makes sense when there is a host (where -nostdlib would
 apply) and offload target. Accept nostdlib when there is no offload
 target as an alias.




More information about the All-commits mailing list