[all-commits] [llvm/llvm-project] 59b684: [OpenMP] Replace global InfoLevel with a reference...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Apr 23 06:44:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59b68490122ae6ef92b1ebe45e8a5f2f7d88a401
      https://github.com/llvm/llvm-project/commit/59b68490122ae6ef92b1ebe45e8a5f2f7d88a401
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-04-23 (Fri, 23 Apr 2021)

  Changed paths:
    M openmp/libomptarget/include/Debug.h
    M openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
    M openmp/libomptarget/plugins/cuda/src/rtl.cpp
    M openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
    M openmp/libomptarget/plugins/remote/src/rtl.cpp
    M openmp/libomptarget/src/interface.cpp

  Log Message:
  -----------
  [OpenMP] Replace global InfoLevel with a reference to an internal one.

Summary:
This patch improves the implementation of D100774 by replacing the global
variable introduced with a function that returns a reference to an internal
one. This removes the need to define the variable in every plugin that uses it.

Reviewed By: JonChesterfield

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




More information about the All-commits mailing list