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
30 lines
222 B
Plaintext
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
|