Re: [PATCH] middle-end/108086 - avoid unshare_expr when remapping SSA names

2023-01-18 Thread Richard Biener via Gcc-patches
On Fri, 16 Dec 2022, Richard Biener wrote: > r0-89280-g129a37fc319db8 added unsharing to remap_ssa_name but > that wasn't in the version of the patch posted. That has some > non-trivial cost through mostly_copy_tree_r and copy_tree_r but > more importantly it doesn't seem to be necessary. I've

[PATCH] middle-end/108086 - avoid unshare_expr when remapping SSA names

2022-12-16 Thread Richard Biener via Gcc-patches
r0-89280-g129a37fc319db8 added unsharing to remap_ssa_name but that wasn't in the version of the patch posted. That has some non-trivial cost through mostly_copy_tree_r and copy_tree_r but more importantly it doesn't seem to be necessary. I've successfully bootstrapped and tested with an assert