Re: Add copy_rtx call to RTL loop unroller

2017-09-20 Thread Richard Biener
On September 20, 2017 2:27:49 PM GMT+02:00, Richard Sandiford wrote: >This is needed if the step is an unshared constant, like many >(const ...)s are. Without this patch, libgfortran would fail >to build for SVE. > >Tested on aarch64-linux-gnu, x86_64-linux-gnu and >powerpc64le-linus-gnu. >OK to

Add copy_rtx call to RTL loop unroller

2017-09-20 Thread Richard Sandiford
This is needed if the step is an unshared constant, like many (const ...)s are. Without this patch, libgfortran would fail to build for SVE. Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le-linus-gnu. OK to install? Richard 2017-09-20 Richard Sandiford Alan Hayward