[all-commits] [llvm/llvm-project] 058c31: [OpenMP][FIX] SPMDzation guarding needs to account...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Dec 1 08:45:01 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 058c312a449fcce2743fb8d789a25fd2e0f416d7
      https://github.com/llvm/llvm-project/commit/058c312a449fcce2743fb8d789a25fd2e0f416d7
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-12-01 (Wed, 01 Dec 2021)

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

  Log Message:
  -----------
  [OpenMP][FIX] SPMDzation guarding needs to account for all reaching kernels

If two reaching kernels disagree on the execution mode we cannot guard a
function right now. Ensure we do not as we otherwise will cause a
deadlock.

Reviewed By: JonChesterfield

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




More information about the All-commits mailing list