Re: Loop-ch improvements, part 1

2023-07-12 Thread Richard Biener via Gcc-patches
On Tue, 11 Jul 2023, Jan Hubicka wrote: > Hi, > this patch improves profile update in loop-ch to handle situation where > duplicated header > has loop invariant test. In this case we konw that all count of the exit > edge belongs to > the duplicated loop header edge and can update

Loop-ch improvements, part 1

2023-07-11 Thread Jan Hubicka via Gcc-patches
Hi, this patch improves profile update in loop-ch to handle situation where duplicated header has loop invariant test. In this case we konw that all count of the exit edge belongs to the duplicated loop header edge and can update probabilities accordingly. Since we also do all the work to track