[all-commits] [llvm/llvm-project] c77120: [InstrProfiling] Don't generate __llvm_profile_run...

Petr Hosek via All-commits all-commits at lists.llvm.org
Wed Mar 10 22:34:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7712087cbb505d324e1149fa224f607c91a8c6a
      https://github.com/llvm/llvm-project/commit/c7712087cbb505d324e1149fa224f607c91a8c6a
  Author: Petr Hosek <phosek at google.com>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/test/Instrumentation/InstrProfiling/linkage.ll
    M llvm/test/Instrumentation/InstrProfiling/profiling.ll

  Log Message:
  -----------
  [InstrProfiling] Don't generate __llvm_profile_runtime_user

This is no longer needed, we can add __llvm_profile_runtime directly
to llvm.compiler.used or llvm.used to achieve the same effect.

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




More information about the All-commits mailing list