Re: [PATCH] gimple-iterator: Some gsi_safe_insert_*before fixes

2024-03-14 Thread Richard Biener
On Thu, 14 Mar 2024, Jakub Jelinek wrote: > Hi! > > When trying to use the gsi_safe_insert*before APIs in bitint lowering, > I've discovered 3 issues and the following patch addresses those: > > 1) both split_block and split_edge update CDI_DOMINATORS if they are >available, but because edge

[PATCH] gimple-iterator: Some gsi_safe_insert_*before fixes

2024-03-14 Thread Jakub Jelinek
Hi! When trying to use the gsi_safe_insert*before APIs in bitint lowering, I've discovered 3 issues and the following patch addresses those: 1) both split_block and split_edge update CDI_DOMINATORS if they are available, but because edge_before_returns_twice_call first splits and then adds