[all-commits] [llvm/llvm-project] c5fafc: [CSSPGO] Tweakes to lower pseudo probe runtime ove...

Hongtao Yu via All-commits all-commits at lists.llvm.org
Fri Sep 17 12:28:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5fafc1e73bcdbb8eaf899d13c5566f37f9580ac
      https://github.com/llvm/llvm-project/commit/c5fafc1e73bcdbb8eaf899d13c5566f37f9580ac
  Author: Hongtao Yu <hoy at fb.com>
  Date:   2021-09-17 (Fri, 17 Sep 2021)

  Changed paths:
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
    M llvm/test/Transforms/SampleProfile/pseudo-probe-emit.ll

  Log Message:
  -----------
  [CSSPGO] Tweakes to lower pseudo probe runtime overhead

A couple tweaks to

1. allow more thinlto importing by excluding probe intrinsics from IR size in module summary

2. Allow general default attributes (nofree nosync nounwind) for pseudo probe intrinsic. Without those attributes, pseudo probes will be basically treated as unknown calls which will in turn block their containing functions from annotated with those attributes.

Reviewed By: wenlei

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




More information about the All-commits mailing list