[PATCH] D109014: [OpenMP] Add an option to always inline OpenMP device functions.
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 31 12:13:44 PDT 2021
jdoerfert accepted this revision.
jdoerfert added a comment.
This revision is now accepted and ready to land.
Add a test please. LGTM.
================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:4490-4491
+ // Optionally inline device functions for potentially better performance.
+ if (AlwaysInlineDeviceFunctions)
+ if (isOpenMPDevice(M))
+ for (Function &F : M)
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109014/new/
https://reviews.llvm.org/D109014
More information about the llvm-commits
mailing list