Re: [PATCH][rs6000] cleanup and rename rs6000_address_for_fpconvert

2018-11-01 Thread Segher Boessenkool
Hi! On Thu, Nov 01, 2018 at 09:00:08AM -0500, Aaron Sawdey wrote: > (rs6000_address_for_fpconvert) Combine with > rs6000_force_indexed_or_indirect_mem. (missing colon) > rtx > -rs6000_address_for_fpconvert (rtx x) > +rs6000_force_indexed_or_indirect_mem (rtx x) > { > - rtx addr; >

[PATCH][rs6000] cleanup and rename rs6000_address_for_fpconvert

2018-11-01 Thread Aaron Sawdey
This patch combines the duties of rs6000_address_for_fpconvert into rs6000_force_indexed_or_indirect_mem which I recently added, and changes all calls to use the latter. The new function name is more descriptive of what is actually going on. This now uses indexed_or_indirect_operand() to test the i