Re: [PATCH] Fix ICE with LOOP_VECTORIZED ifn (PR tree-optimization/83581)

2017-12-30 Thread Richard Biener
On December 30, 2017 8:42:06 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >The problem on this testcase is that ldist pass changes some >GIMPLE_CONDs >into 0 != 0 or similar, but the pass doesn't perform any cleanups, then >ifcvt is run and does completely useless work of duplicating dead loops >and

[PATCH] Fix ICE with LOOP_VECTORIZED ifn (PR tree-optimization/83581)

2017-12-30 Thread Jakub Jelinek
Hi! The problem on this testcase is that ldist pass changes some GIMPLE_CONDs into 0 != 0 or similar, but the pass doesn't perform any cleanups, then ifcvt is run and does completely useless work of duplicating dead loops and guarding them with LOOP_VECTORIZED ifns, and then during the ifcvt cfg c