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 |
||
|---|---|---|
| .. | ||
| atomic-counter.ll | ||
| exit-block.ll | ||
| function-numbering.ll | ||
| global-ctor.ll | ||
| linezero.ll | ||
| linkagename.ll | ||
| module-flags.ll | ||
| modules.ll | ||
| noprofile.ll | ||
| reset.ll | ||
| split-indirectbr-critical-edges.ll | ||
| three-element-mdnode.ll | ||
| version.ll | ||