diff options
author | Amir Ayupov <aaupov@fb.com> | 2024-03-27 16:40:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 16:40:38 -0700 |
commit | 385e3e26c11fac9373bf7ba431b90b6f42682c84 (patch) | |
tree | 44e7a735c1e36152a9c32dc25c599eb7dbd81b2f /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b76fd1eddbafaa02a533245d574048c5ad9e38fa (diff) | |
download | llvm-385e3e26c11fac9373bf7ba431b90b6f42682c84.zip llvm-385e3e26c11fac9373bf7ba431b90b6f42682c84.tar.gz llvm-385e3e26c11fac9373bf7ba431b90b6f42682c84.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions