[all-commits] [llvm/llvm-project] 22a167: [flang] Fix OMPEarlyOutlining erasing declare targ...

Jan Sjodin via All-commits all-commits at lists.llvm.org
Thu Jul 13 10:06:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22a167779aca7b3384d3e0fd132ccdf3740f6911
      https://github.com/llvm/llvm-project/commit/22a167779aca7b3384d3e0fd132ccdf3740f6911
  Author: Jan Sjodin <jan_sjodin at yahoo.com>
  Date:   2023-07-13 (Thu, 13 Jul 2023)

  Changed paths:
    M flang/lib/Optimizer/Transforms/OMPEarlyOutlining.cpp
    M flang/test/Lower/OpenMP/omp-target-early-outlining.f90

  Log Message:
  -----------
  [flang] Fix OMPEarlyOutlining erasing declare target functions

The early outlining pass was erasing target functions that need to be
kept. It should only erase functions that contain target ops.




More information about the All-commits mailing list