[all-commits] [llvm/llvm-project] f490a5: [OpenMP][InstrProfiling] Fix a missing instr profi...

Xun Li via All-commits all-commits at lists.llvm.org
Thu Mar 25 13:52:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f490a5969bd52c8a48586f134ff8f02ccbb295b3
      https://github.com/llvm/llvm-project/commit/f490a5969bd52c8a48586f134ff8f02ccbb295b3
  Author: Xun Li <lxfind at gmail.com>
  Date:   2021-03-25 (Thu, 25 Mar 2021)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    A clang/test/OpenMP/omp_with_loop_pragma_instr_profile.c

  Log Message:
  -----------
  [OpenMP][InstrProfiling] Fix a missing instr profiling counter

When emitting a function body there needs to be a instr profiling counter emitted. Otherwise instr profiling won't work for this function.

Reviewed By: MaskRay

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




More information about the All-commits mailing list