[all-commits] [llvm/llvm-project] f039a9: [InstrProfiling] Emit runtime hook only once

gulfemsavrun via All-commits all-commits at lists.llvm.org
Tue Sep 20 10:01:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f039a9fa32483a7d4c2de421595fbe295e9cac6a
      https://github.com/llvm/llvm-project/commit/f039a9fa32483a7d4c2de421595fbe295e9cac6a
  Author: Gulfem Savrun Yeniceri <gulfem at google.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp

  Log Message:
  -----------
  [InstrProfiling] Emit runtime hook only once

This patch fixes the issue about calling emitRuntimeHook() twice
when we need to unconditionally emit runtime hook as discussed in
https://reviews.llvm.org/rGd6aed77f0d19.

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




More information about the All-commits mailing list