diff options
author | Amir Ayupov <aaupov@fb.com> | 2024-05-13 14:23:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 14:23:32 -0700 |
commit | 4ecf2caf687014a63f0434a63fe9a522ec9be445 (patch) | |
tree | 74d2cabdf0c10d2cd9e6b75a6bc250d3f0a1818b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 70e227a404e51f9248c7ad5d79953805b2afacb4 (diff) | |
download | llvm-4ecf2caf687014a63f0434a63fe9a522ec9be445.zip llvm-4ecf2caf687014a63f0434a63fe9a522ec9be445.tar.gz llvm-4ecf2caf687014a63f0434a63fe9a522ec9be445.tar.bz2 |
[BOLT] Use aggregated FuncBranchData in writeBATYAML
Switch from FuncBranchData intermediate maps (Intra/InterIndex)
to aggregated Data, same as one used by DataReader:
https://github.com/llvm/llvm-project/blob/e62ce1f8842cca36eb14126d79dcca0a85bf6d36/bolt/lib/Profile/DataReader.cpp#L385-L389
This aligns the order of the output between YAMLProfileWriter and
writeBATYAML.
Test Plan: updated bolt-address-translation-yaml.test
Reviewers: rafaelauler, dcci, ayermolo, maksfb
Reviewed By: ayermolo, maksfb
Pull Request: https://github.com/llvm/llvm-project/pull/91289
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions