Re: [PATCH, ARM] Change arm_legitimize_address not to force an addend CONST_INT into REG

2013-11-26 Thread Richard Earnshaw
On 26/11/13 12:29, Yufeng Zhang wrote: > Hi, > > arm_legitimize_address forces immediates in PLUS to be in REG for no > good reason. This patch changes it not to do this. > > With the immediate constants directly available in the RTL, it helps the > expand more effectively to fold and re-assoc

[PATCH, ARM] Change arm_legitimize_address not to force an addend CONST_INT into REG

2013-11-26 Thread Yufeng Zhang
Hi, arm_legitimize_address forces immediates in PLUS to be in REG for no good reason. This patch changes it not to do this. With the immediate constants directly available in the RTL, it helps the expand more effectively to fold and re-associate the immediates. The change also helps the fo