[all-commits] [llvm/llvm-project] 9ea5b9: [OpenMP][FIX] Invalidate the SPMDCompatibilityTrac...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Dec 6 09:32:17 PST 2021


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

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

  Log Message:
  -----------
  [OpenMP][FIX] Invalidate the SPMDCompatibilityTracker explicitly

Before SPMDzation it was sufficient to add an incompatible instruction
to the SPMDCompatibilityTracker. However, now adding instructions means
they need guarding. As calls cannot be guarded in general we need to
explicitly prevent SPMD mode.

Reviewed By: jdoerfert

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


  Commit: 744aa09f5218f7db206af2e1945e23f90df46f1f
      https://github.com/llvm/llvm-project/commit/744aa09f5218f7db206af2e1945e23f90df46f1f
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-12-06 (Mon, 06 Dec 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp

  Log Message:
  -----------
  [OpenMP] Make reduction functions SPMD compatible

Reduction functions were guarded before which was wrong, these are SPMD
compatible.

Reviewed By: jdoerfert

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


Compare: https://github.com/llvm/llvm-project/compare/c94eb0f9ef55...744aa09f5218


More information about the All-commits mailing list