[all-commits] [llvm/llvm-project] 793b48: [CGProfile] Don't emit call graph profile edges wi...

Leonard Grey via All-commits all-commits at lists.llvm.org
Thu Oct 28 08:33:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 793b481f54f8343bc3e6041f4400fe54166529a9
      https://github.com/llvm/llvm-project/commit/793b481f54f8343bc3e6041f4400fe54166529a9
  Author: Leonard Grey <lgrey at chromium.org>
  Date:   2021-10-28 (Thu, 28 Oct 2021)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/CGProfile.cpp
    M llvm/test/Instrumentation/cgprofile.ll

  Log Message:
  -----------
  [CGProfile] Don't emit call graph profile edges with zero weight

With D112160 and D112164, on a Chrome Mac build this reduces the total
size of CGProfile sections by 78% (around 25% eliminated entirely) and
total size of object files by 0.14%.

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




More information about the All-commits mailing list