RE: [PATCH] Don't split call from its call arg location

2017-11-21 Thread Claudiu Zissulescu
> > gcc/ > > 2017-11-20 Claudiu Zissulescu > > > > * cfgrtl.c (force_nonfallthru_and_redirect): Don't split a call > > and its corresponding call arg location note. > OK, but please add the test from the original message you posted to > gcc.target/arc with suitable dg-options. > Commit

Re: [PATCH] Don't split call from its call arg location

2017-11-20 Thread Jeff Law
On 11/20/2017 04:04 AM, Claudiu Zissulescu wrote: > When a port is using hardware loops (like ARC) makes use of > reorg_loops to find and analyze loops that end in loop_end > instructions. The very same function can be set to reorder the cfg > such that the loop end occurs after the loop start. Thi

[PATCH] Don't split call from its call arg location

2017-11-20 Thread Claudiu Zissulescu
When a port is using hardware loops (like ARC) makes use of reorg_loops to find and analyze loops that end in loop_end instructions. The very same function can be set to reorder the cfg such that the loop end occurs after the loop start. This task is performed by reorder_loops function which at its