[all-commits] [llvm/llvm-project] 2cd75f: Diagnose invalid target ID for AMDGPU toolchain fo...

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Fri Oct 2 16:38:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cd75f738ec6b150719a9468372d77b7064ff340
      https://github.com/llvm/llvm-project/commit/2cd75f738ec6b150719a9468372d77b7064ff340
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/AMDGPU.h
    M clang/lib/Driver/ToolChains/HIP.cpp
    A clang/test/Driver/amdgpu-invalid-target-id.s

  Log Message:
  -----------
  Diagnose invalid target ID for AMDGPU toolchain for assembler

AMDGPU toolchain currently only diagnose invalid target ID for OpenCL
source compilation. Invalid target ID is not diagnosed for assembler.

This patch fixes that.

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




More information about the All-commits mailing list