[all-commits] [llvm/llvm-project] abbc3f: [OpenMP] Replace pointer comparison with `isShared...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Tue Oct 4 19:25:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abbc3fa17b93196dc869a6d317cdcab493a0f9e0
      https://github.com/llvm/llvm-project/commit/abbc3fa17b93196dc869a6d317cdcab493a0f9e0
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/include/Utils.h
    M openmp/libomptarget/DeviceRTL/src/State.cpp
    M openmp/libomptarget/DeviceRTL/src/Utils.cpp

  Log Message:
  -----------
  [OpenMP] Replace pointer comparison with `isSharedMemPtr` check

The pointer comparison was causing confusion for capture tracking, let's
avoid confusion.

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




More information about the All-commits mailing list