[all-commits] [llvm/llvm-project] 57ad2e: [OpenMP] Prevent OpenMPOpt from internalizing unca...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jun 28 13:48:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57ad2e106767f298a0248a5894fcb3581f533f93
      https://github.com/llvm/llvm-project/commit/57ad2e106767f298a0248a5894fcb3581f533f93
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

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

  Log Message:
  -----------
  [OpenMP] Prevent OpenMPOpt from internalizing uncalled functions

Currently OpenMPOpt will only check if a function is a kernel before deciding not to internalize it. Any uncalled function that gets internalized will be trivially dead in the module so this is unnnecessary.

Depends on D102423

Reviewed By: jdoerfert

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




More information about the All-commits mailing list