[all-commits] [llvm/llvm-project] 385e3e: [BOLT] Set EntryDiscriminator in YAML profile for ...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Wed Mar 27 16:41:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 385e3e26c11fac9373bf7ba431b90b6f42682c84
      https://github.com/llvm/llvm-project/commit/385e3e26c11fac9373bf7ba431b90b6f42682c84
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-03-27 (Wed, 27 Mar 2024)

  Changed paths:
    M bolt/lib/Profile/YAMLProfileWriter.cpp
    M bolt/test/X86/yaml-secondary-entry-discriminator.s

  Log Message:
  -----------
  [BOLT] Set EntryDiscriminator in YAML profile for indirect calls

Indirect call handling missed setting an `EntryDiscriminator` while it's
set for direct calls and tail calls.

Improve YAML profile accuracy by unifying the destination setting
between direct and indirect calls into `setCSIDestination` method.

Depends on: https://github.com/llvm/llvm-project/pull/86848

Test Plan: Updated bolt/test/X86/yaml-secondary-entry-discriminator.s

Reviewers: ayermolo, maksfb, rafaelauler

Reviewed By: maksfb

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



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