Re: Help with RTL loop invariant motion

2011-12-12 Thread David Edelsohn
On Mon, Dec 12, 2011 at 3:05 AM, Rohit Arul Raj wrote: > And with ‘-O3’ and above, we cannot switch OFF the flag > ‘-fira-loop-pressure’, because it has been explicitly overridden in > the PPC backend target files. > > 1) Is it possible to update the heuristic to allow this optimization. > 2) If

Help with RTL loop invariant motion

2011-12-12 Thread Rohit Arul Raj
Hi, With PowerPC GCC tool chain v4.6.1 (for e500mc), i have a test case which shows regression at -O3 with the patch [IRA-based register pressure calculation for RTL loop invariant motion] listed below: http://gcc.gnu.org/ml/gcc-patches/2009-09/msg01889.html Reduced Test Case: /*