]> git.ipfire.org Git - thirdparty/gcc.git/commit
Make sure to cost bb[0], work around unreachable predicates
authorRichard Biener <rguenther@suse.de>
Wed, 18 May 2022 09:57:10 +0000 (11:57 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 18 May 2022 09:57:10 +0000 (11:57 +0200)
commit399a970a9e2302fa0ffefc03fad7d8d56801c2e6
treecfa90a942bfa7127f0b3599e67c63582d423c79b
parent74ccb99070906ed9bbed2079e6ffba732ef1678d
Make sure to cost bb[0], work around unreachable predicates

This applies a workaround to avoid unswitching on predicates from
BBs that are considered unreachable and to that effect makes sure
to always cost bb[0] which we always put on the worklist as reachable.
gcc/tree-ssa-loop-unswitch.cc