[all-commits] [llvm/llvm-project] 0f0ce3: [OpenMP][NVPTX] Take functions in `deviceRTLs` as ...

Shilei Tian via All-commits all-commits at lists.llvm.org
Wed Feb 3 17:58:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f0ce3c12edefd25448e39c4d20718a10d3d42c1
      https://github.com/llvm/llvm-project/commit/0f0ce3c12edefd25448e39c4d20718a10d3d42c1
  Author: Shilei Tian <tianshilei1992 at gmail.com>
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/OpenMP/target_attribute_convergent.cpp
    A openmp/libomptarget/test/offloading/bug49021.cpp

  Log Message:
  -----------
  [OpenMP][NVPTX] Take functions in `deviceRTLs` as `convergent`

OpenMP device compiler (similar to other SPMD compilers) assumes that
functions are convergent by default to avoid invalid transformations, such as
the bug (https://bugs.llvm.org/show_bug.cgi?id=49021).

Reviewed By: jdoerfert

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




More information about the All-commits mailing list