Re: [PATCH] Fix create_preheader ICE (PR rtl-optimization/84872)

2018-04-06 Thread Richard Biener
On April 6, 2018 6:04:48 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >When create_preheader is called with CP_FALLTHRU_PREHEADERS and >the loop header is cold, but the bb dominating the loop is hot (or vice >versa) and there are just 2 incoming edges into the header, we use >split_edge, which unfort

[PATCH] Fix create_preheader ICE (PR rtl-optimization/84872)

2018-04-06 Thread Jakub Jelinek
Hi! When create_preheader is called with CP_FALLTHRU_PREHEADERS and the loop header is cold, but the bb dominating the loop is hot (or vice versa) and there are just 2 incoming edges into the header, we use split_edge, which unfortunately make the new bb use the partition of the source rather than