Re: [PATCH #7/7] handle TRUTH_ANDIF cond exprs in ifcombine_replace_cond

2024-11-01 Thread Alexandre Oliva
On Oct 31, 2024, Jeff Law wrote: > On 10/25/24 5:57 AM, Alexandre Oliva wrote: >> 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'r

Re: [PATCH #7/7] handle TRUTH_ANDIF cond exprs in ifcombine_replace_cond

2024-10-31 Thread Jeff Law
On 10/25/24 5:57 AM, Alexandre Oliva wrote: 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

[PATCH #7/7] handle TRUTH_ANDIF cond exprs in ifcombine_replace_cond (was: Re: [PATCH] fold fold_truth_andor field merging into ifcombine)

2024-10-25 Thread Alexandre Oliva
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)