Re: Make omp_expand to be part of lowering passes

2013-05-28 Thread Richard Henderson
On 05/28/2013 04:25 AM, Jan Hubicka wrote: > According to dicussion with Jakub, I do not see reason why not move whole > thing upwards into lowering. This make the child functio nto get throug > optimization as a regular function and things works smoother. > > Bootstrapped/regtested x86_64, seem

Make omp_expand to be part of lowering passes

2013-05-28 Thread Jan Hubicka
Hi, I have hit problem with this pass several times. OMP is split into two passes, one run before CFG construction (lower_omp) and other after (expand_omp). Their purpose (as I understand it) is to outline part of the function body into child function. This happens in two steps and part of body (D