Summary: The PGO gen/use passes currently fail with an assert failure if there's a critical edge whose source is an IndirectBr instruction and that edge needs to be instrumented. To avoid this in certain cases, split IndirectBr critical edges in the PGO gen/use passes. This works for blocks with single indirectbr predecessors, but not for those with multiple indirectbr predecessors (splitting an IndirectBr critical edge isn't always possible.) Reviewers: davidxl, xur Reviewed By: davidxl Subscribers: efriedma, llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D40699 llvm-svn: 320511
13 lines
113 B
Plaintext
13 lines
113 B
Plaintext
# IR level Instrumentation Flag
|
|
:ir
|
|
foo
|
|
# Func Hash:
|
|
47485104005
|
|
# Num Counters:
|
|
4
|
|
# Counter Values:
|
|
139
|
|
20
|
|
5
|
|
63
|