[PATCH] D110749: [OpenMP] Add options to change Attributor max iterations in OpenMPOpt
Joseph Huber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 29 11:53:28 PDT 2021
jhuber6 created this revision.
jhuber6 added a reviewer: jdoerfert.
Herald added subscribers: ormris, okura, kuter, uenoku, guansong, hiraditya, yaxunl.
Herald added a reviewer: uenoku.
jhuber6 requested review of this revision.
Herald added a reviewer: sstefan1.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D110749
Files:
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
llvm/test/Transforms/OpenMP/remove_globalization.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110749.375980.patch
Type: text/x-patch
Size: 5271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210929/1d776af5/attachment.bin>
More information about the llvm-commits
mailing list