[all-commits] [llvm/llvm-project] e58469: [IR] Remove Synthetic Profile Support from Function

Aiden Grossman via All-commits all-commits at lists.llvm.org
Tue Jun 23 13:15:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e584691adce2c8c0949e28f56427db72ac765570
      https://github.com/llvm/llvm-project/commit/e584691adce2c8c0949e28f56427db72ac765570
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-06-23 (Tue, 23 Jun 2026)

  Changed paths:
    M llvm/include/llvm/IR/Function.h
    M llvm/lib/IR/Function.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/lib/Transforms/Utils/ProfileVerify.cpp
    M llvm/unittests/IR/MetadataTest.cpp

  Log Message:
  -----------
  [IR] Remove Synthetic Profile Support from Function

Synthetic profiles are not generated anywhere and support is very
sporadic across the code base. They are slated to be removed, so remove
support for them from Function member functions.

A future PR will clean up the ProfileCount abstraction that is now no
longer necessary.

Reviewers: teresajohnson, david-xl, mtrofin

Pull Request: https://github.com/llvm/llvm-project/pull/204768



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list