diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-09-15 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-09-18 07:28:55 +0200 |
| commit | 4d614e1d1f964ac1dc7af0261848cf6dc63d915c (patch) | |
| tree | 0cbd9b9d0118cbb0fe5908936bf180fbf9adde58 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 5118dd5a2f0b97a006f55ef68408a7dd1925bc12 (diff) | |
| download | rust-4d614e1d1f964ac1dc7af0261848cf6dc63d915c.tar.gz rust-4d614e1d1f964ac1dc7af0261848cf6dc63d915c.zip | |
Do not collapse goto chains beginning with the start block
If any block on a goto chain has more than one predecessor, then the new start block would have basic block predecessors. Skip the transformation for the start block altogether, to avoid violating the new invariant that the start block does not have any basic block predecessors.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
