[all-commits] [llvm/llvm-project] 3ff172: [OpenMP][AMDGPU] Get rid of redundant macro def

Shilei Tian via All-commits all-commits at lists.llvm.org
Wed Jan 18 17:08:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ff1726cf8025b94db8d3b8fdf4cc79a7888d80f
      https://github.com/llvm/llvm-project/commit/3ff1726cf8025b94db8d3b8fdf4cc79a7888d80f
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M openmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa.cpp

  Log Message:
  -----------
  [OpenMP][AMDGPU] Get rid of redundant macro def

The next gen plugin adds the def of `DEBUG_PREFIX` in CMake, causing
compiler warning that `DEBUG_PREFIX` is defined multiple times. This patch simply
guards the macro def.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list