[all-commits] [llvm/llvm-project] e68313: [OpenMP][FIX] Use thread id not team id for masked...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Sun Jan 22 15:57:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e68313f100af7cad73ffa09e387237ac633a7a48
      https://github.com/llvm/llvm-project/commit/e68313f100af7cad73ffa09e387237ac633a7a48
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-01-22 (Sun, 22 Jan 2023)

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

  Log Message:
  -----------
  [OpenMP][FIX] Use thread id not team id for masked section


  Commit: ea3c24932a6b463efaa435e76140af7619b3f41c
      https://github.com/llvm/llvm-project/commit/ea3c24932a6b463efaa435e76140af7619b3f41c
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-01-22 (Sun, 22 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    A llvm/test/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll

  Log Message:
  -----------
  [OpenMP][FIX] Properly update ParallelLevels tracker


  Commit: 2275e325e4bc7db4ea0f4fa527774be524c2c287
      https://github.com/llvm/llvm-project/commit/2275e325e4bc7db4ea0f4fa527774be524c2c287
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-01-22 (Sun, 22 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/test/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll

  Log Message:
  -----------
  [OpenMP] Guarding restrictions are required only for guarding

If we do not guard code during SPMDzation, we do not need to check
conditions for successfull guarding. That is, even if some code is
executed in different modes, it does not prevent SPMDzation if there is
no guarded code in there.


Compare: https://github.com/llvm/llvm-project/compare/32ce06bbf2cf...2275e325e4bc


More information about the All-commits mailing list