[all-commits] [llvm/llvm-project] 5c03be: clang: Allow backend unsupported warnings

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Apr 27 09:15:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c03beefa720bddb3e3f53c595a76bce7ad50f37
      https://github.com/llvm/llvm-project/commit/5c03beefa720bddb3e3f53c595a76bce7ad50f37
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticFrontendKinds.td
    M clang/lib/CodeGen/CodeGenAction.cpp
    A clang/test/CodeGenOpenCL/backend-unsupported-warning.ll

  Log Message:
  -----------
  clang: Allow backend unsupported warnings

Currently this asserts on anything other than errors. In one
workaround scenario, AMDGPU emits DiagnosticInfoUnsupported as a
warning for functions that can't be correctly codegened, but should
never be executed.




More information about the All-commits mailing list