about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2021-09-15 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2021-09-18 07:28:55 +0200
commit4d614e1d1f964ac1dc7af0261848cf6dc63d915c (patch)
tree0cbd9b9d0118cbb0fe5908936bf180fbf9adde58 /compiler/rustc_codegen_llvm/src
parent5118dd5a2f0b97a006f55ef68408a7dd1925bc12 (diff)
downloadrust-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_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions