[all-commits] [llvm/llvm-project] eda4ef: [Libomptarget] Add `leaf` attribute to `vprintf` d...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu May 19 11:23:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eda4ef3add4d25345e0b29580776f1576040c525
      https://github.com/llvm/llvm-project/commit/eda4ef3add4d25345e0b29580776f1576040c525
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/src/Debug.cpp

  Log Message:
  -----------
  [Libomptarget] Add `leaf` attribute to `vprintf` declaration

Summary:
This patch adds the `leaf` attribute to the `vprintf` declaration in the
OpenMP runtime. This attribute allows us to determine that the `vprintf`
function will not call any functions within the translation unit,
allowing us to deduce `norecurse` attributes on the caller.




More information about the All-commits mailing list