Files
clang-p2996/llvm/test/Transforms/PGOProfile/Inputs/irreducible.proftext
Matthias Braun 6a383369f9 PGOInstrumentation, GCOVProfiling: Split indirectbr critical edges regardless of PHIs
The `SplitIndirectBrCriticalEdges` function was originally designed for
`CodeGenPrepare` and skipped splitting of edges when the destination
block didn't contain any `PHI` instructions. This only makes sense when
reducing COPYs like `CodeGenPrepare`. In the case of
`PGOInstrumentation` or `GCOVProfiling` it would result in missed
counters and wrong result in functions with computed goto.

Differential Revision: https://reviews.llvm.org/D120096
2022-02-23 16:27:37 -08:00

30 lines
222 B
Plaintext

:ir
_Z11irreducibleii
# Func Hash:
287486624745028451
# Num Counters:
6
# Counter Values:
1000
950
100
373
1
0
_Z11irreduciblePh
# Func Hash:
52047014671956012
# Num Counters:
9
# Counter Values:
300
99
300
201
1
1
0
0
0