Re: [PATCH] tree-optimization/108314 - avoid BIT_NOT optimization for extract-last

2023-01-10 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > On Tue, 10 Jan 2023, Richard Sandiford wrote: > >> Richard Biener writes: >> > The extract-last reduction internal function expects the then and >> > else clause as vector and scalar and thus we cannot perform optimization >> > of the inversion of the condition by swappin

Re: [PATCH] tree-optimization/108314 - avoid BIT_NOT optimization for extract-last

2023-01-10 Thread Richard Biener via Gcc-patches
On Tue, 10 Jan 2023, Richard Sandiford wrote: > Richard Biener writes: > > The extract-last reduction internal function expects the then and > > else clause as vector and scalar and thus we cannot perform optimization > > of the inversion of the condition by swapping the then/else clauses. > > >

Re: [PATCH] tree-optimization/108314 - avoid BIT_NOT optimization for extract-last

2023-01-10 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > The extract-last reduction internal function expects the then and > else clause as vector and scalar and thus we cannot perform optimization > of the inversion of the condition by swapping the then/else clauses. > > Bootstrap and regtest running on x86_64-unknown-linux-gnu

[PATCH] tree-optimization/108314 - avoid BIT_NOT optimization for extract-last

2023-01-10 Thread Richard Biener via Gcc-patches
The extract-last reduction internal function expects the then and else clause as vector and scalar and thus we cannot perform optimization of the inversion of the condition by swapping the then/else clauses. Bootstrap and regtest running on x86_64-unknown-linux-gnu, OK? Thanks, Richard.