Re: [PATCH] Fix up parloops loop exit PHI handling (PR tree-optimization/90211)

2019-04-24 Thread Richard Biener
On April 24, 2019 9:57:05 AM GMT+02:00, Jakub Jelinek wrote: >Hi! > >The parloops code when walking over PHI arguments from the loop exit >edge assumes that the arguments must be SSA_NAMEs, without checking. >As can be seen on the following testcase, in some cases it can be a >constant >as well.

[PATCH] Fix up parloops loop exit PHI handling (PR tree-optimization/90211)

2019-04-24 Thread Jakub Jelinek
Hi! The parloops code when walking over PHI arguments from the loop exit edge assumes that the arguments must be SSA_NAMEs, without checking. As can be seen on the following testcase, in some cases it can be a constant as well. And we don't really need to do anything special in those cases, the c