]> git.ipfire.org Git - thirdparty/gcc.git/commit
handle TRUTH_ANDIF cond exprs in ifcombine_replace_cond
authorAlexandre Oliva <oliva@adacore.com>
Thu, 7 Nov 2024 05:47:46 +0000 (02:47 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 7 Nov 2024 05:47:46 +0000 (02:47 -0300)
commit13cf22eb557eb5e3d796822247d8d4957bdb25da
tree58536a032083d5936caa5de60a0bb407e84dac93
parentae074c69fd5aff10953264dbd9740cebfeb0902e
handle TRUTH_ANDIF cond exprs in ifcombine_replace_cond

The upcoming move of fold_truth_andor to ifcombine brings with it the
possibility of TRUTH_ANDIF cond exprs.  Handle them by splitting the
cond so as to best use both BB insertion points, but only if they're
contiguous.

for  gcc/ChangeLog

* tree-ssa-ifcombine.c (ifcombine_replace_cond): Support
TRUTH_ANDIF cond exprs.
gcc/tree-ssa-ifcombine.cc