[all-commits] [llvm/llvm-project] e8439e: [OpenMP] Set RequiresFullRuntime false in SPMDization

Giorgis Georgakoudis via All-commits all-commits at lists.llvm.org
Tue Jul 20 09:55:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8439ec893b823967ef83adfe1e1cd60d6a305ee
      https://github.com/llvm/llvm-project/commit/e8439ec893b823967ef83adfe1e1cd60d6a305ee
  Author: Giorgis Georgakoudis <georgakoudis1 at llnl.gov>
  Date:   2021-07-20 (Tue, 20 Jul 2021)

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

  Log Message:
  -----------
  [OpenMP] Set RequiresFullRuntime false in SPMDization

SPMDization in D102307 does not change the RequiresFullRuntime argument of kmpc_target_init/deinit calls. However, the constraints of SPMDization detection for converting a target region to SPMD mode should guarantee that the region does not require full runtime support. Hence, this patch sets RequiresFullRuntime to false for improved execution performance.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list