[all-commits] [llvm/llvm-project] f074a6: [OpenMP] Add options to change Attributor max iter...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Oct 4 06:39:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f074a6a041936cc5a93f0ca4fb6c2f6ed9895350
      https://github.com/llvm/llvm-project/commit/f074a6a041936cc5a93f0ca4fb6c2f6ed9895350
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-10-04 (Mon, 04 Oct 2021)

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

  Log Message:
  -----------
  [OpenMP] Add options to change Attributor max iterations in OpenMPOpt

This patch adds a new command line option `openmp-opt-max-iterations`
that controls the maximum number of iterations the attributor will run
for when compiling OpenMP target device code. This patch also adds a
remark to indicate when the attributor failed because it did not run
for enough iterations.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list