[all-commits] [llvm/llvm-project] dbffa4: [NVVM] Update intrinsic defintions to include the ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu May 19 09:30:52 PDT 2022


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

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsNVVM.td
    M llvm/test/Transforms/OpenMP/barrier_removal.ll
    M llvm/test/Transforms/OpenMP/replace_globalization.ll

  Log Message:
  -----------
  [NVVM] Update intrinsic defintions to include the `nocallback` attribute

This patch adds the `nocallback` attribute to the NVVM intrinsics that
did not use the `DefaultAttrsIntrinsic` method that includes it already.
The `nocallback` attribute states that the intrinsic function cannot
enter back into the caller's translation-unit. This allows as to
determine that a function calling a `nocallback` function can have the
`norecurse` attribute.  This should be safe for all the NVVM intrinsics
because they do not call other functions within the translation unit.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list