ifcombine: factor out inner block viability test
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 3 Nov 2015 00:31:18 +0000 (00:31 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 3 Nov 2015 00:31:18 +0000 (00:31 +0000)
commit067339d22029606a24ff31136d5696d56e3e05de
tree62dc97fa8c6c93ca0eeac3251e4d590a1f3c167f
parent828ca3d835ac006cbcb2e5b480c6429cc8a75bdd
ifcombine: factor out inner block viability test

Bail out early if the inner block has side effects or is otherwise not
eligible for ifcombine.

for  gcc/ChangeLog

* tree-ssa-ifcombine.c (tree_ssa_ifcombine_bb_1): Factor out
bb_no_side_effects_p tests...
(tree_ssa_ifcombine_bb): ... here.

From-SVN: r229691
gcc/ChangeLog
gcc/tree-ssa-ifcombine.c