Files
clang-p2996/llvm/test/Transforms/SampleProfile/Inputs/pseudo-probe-profile-mismatch-nested.prof
wlei 3365cd4544 [CSSPGO] Compute checksum mismatch recursively on nested profile
Follow-up diff for https://reviews.llvm.org/D158891. Compute the checksum mismatch based on the original nested profile. Additionally, use a recursive way to compute the children mismatched samples in the nested tree even the top-level func checksum is matched.

Reviewed By: hoy, wenlei

Differential Revision: https://reviews.llvm.org/D158900
2023-08-30 18:00:23 -07:00

13 lines
197 B
Plaintext

main:300:0
1: 0
12: 10 matched:10
20: 10 bar:10
13: bar:200
1: 100
!CFGChecksum: 123
!CFGChecksum: 844635331715433
bar:11:11
1: 11
# Original CFGChecksum is 4294967295
!CFGChecksum: 123