diff options
author | Amir Ayupov <aaupov@fb.com> | 2024-04-11 21:15:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-11 21:15:04 +0200 |
commit | 3997f0eb8199c89f8224cca1ecdd3d45c1bbe1fc (patch) | |
tree | 9f2c2aecaa7dd89b5c7f183af0b7ccfa4908785d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 8840992667180d327ff40ee24354ab8b49605aae (diff) | |
download | llvm-3997f0eb8199c89f8224cca1ecdd3d45c1bbe1fc.zip llvm-3997f0eb8199c89f8224cca1ecdd3d45c1bbe1fc.tar.gz llvm-3997f0eb8199c89f8224cca1ecdd3d45c1bbe1fc.tar.bz2 |
[BOLT] Cover all call sites in writeBATYAML
Call site information setting was conditioned on branch information
presence for a given block. However, it's possible to have sampled
profile lacking one or the other for a given basic block.
Iterate over branch profiles and call profiles independently to cover
all recorded profile data.
Depends on https://github.com/llvm/llvm-project/pull/87569
Test Plan: Updated bolt/test/X86/yaml-secondary-entry-discriminator.s
Reviewers: ayermolo, dcci, maksfb, rafaelauler
Reviewed By: maksfb
Pull Request: https://github.com/llvm/llvm-project/pull/87743
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions