[all-commits] [llvm/llvm-project] 6d2c09: [HIP] Check compatibility of -fgpu-sanitize with o...

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Thu May 27 09:07:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d2c0950205f50f926ba5e362e845faff22582b7
      https://github.com/llvm/llvm-project/commit/6d2c0950205f50f926ba5e362e845faff22582b7
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2021-05-27 (Thu, 27 May 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/AMDGPU.h
    M clang/lib/Driver/ToolChains/HIP.cpp
    M clang/lib/Driver/ToolChains/HIP.h
    M clang/test/Driver/hip-sanitize-options.hip

  Log Message:
  -----------
  [HIP] Check compatibility of -fgpu-sanitize with offload arch

-fgpu-sanitize is incompatible with offload arch containing xnack-.

This patch checks that.

Reviewed by: Artem Belevich

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




More information about the All-commits mailing list