[all-commits] [llvm/llvm-project] 29a74a: [OpenMP] Add an option to always inline OpenMP dev...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Aug 31 15:48:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29a74a39150ad0a041922431cda68f1afba830c9
      https://github.com/llvm/llvm-project/commit/29a74a39150ad0a041922431cda68f1afba830c9
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

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

  Log Message:
  -----------
  [OpenMP] Add an option to always inline OpenMP device functions.

Performance on GPU targets can be highly variable, sometimes inlining
everything hurts performance and sometimes it greatly improves it. Add
an option to toggle this behaviour to better investigate it.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list