[all-commits] [llvm/llvm-project] 0ff02c: [AMDGPU] Hide "removing function" diagnostics by d...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Tue Apr 11 00:26:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ff02cf015d3e6bdf80e971355faf5e6b98bd9e9
      https://github.com/llvm/llvm-project/commit/0ff02cf015d3e6bdf80e971355faf5e6b98bd9e9
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp
    M llvm/test/CodeGen/AMDGPU/remove-incompatible-functions.ll

  Log Message:
  -----------
  [AMDGPU] Hide "removing function" diagnostics by default

Use an `OptimizationRemark` for them even though it's not really an
optimization. It just integrates better with the other diagnostics
(enabling is easy with `-pass-remark`).

Reviewed By: arsenm

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




More information about the All-commits mailing list