[llvm-branch-commits] [BOLT] Set EntryDiscriminator in YAML profile for indirect calls (PR #82128)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Feb 17 12:48:00 PST 2024


https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/82128

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.

Test Plan: `bin/llvm-lit -a tools/bolt/test`





More information about the llvm-branch-commits mailing list