Currently prof metadata with branch counts is added only for BranchInst and SwitchInst, but not for IndirectBrInst. As a result, BPI/BFI make incorrect inferences for indirect branches, which can be very hot. This diff adds metadata for IndirectBrInst, in addition to BranchInst and SwitchInst. Reviewed By: wmi, wenlei Differential Revision: https://reviews.llvm.org/D99550
9 lines
84 B
Plaintext
9 lines
84 B
Plaintext
foo:3200:13
|
|
1: 6
|
|
2: 86
|
|
3: 8212
|
|
4: 1
|
|
5: 17747
|
|
6: 5
|
|
!CFGChecksum: 158517001042
|