Hi Richard,
On 26/02/16 12:57, Richard Biener wrote:
On Fri, Feb 26, 2016 at 1:54 PM, Renlin Li <renlin...@foss.arm.com> wrote:
I have checked, x86, arm, aarch64, mips, arc all have such patterns. But
it's
not triggered. In my case, it's triggered by compiling glibc with local
change.
Please extract a testcase from your modified glibc sources.
Richard.
The change is to the compiler. I change the compiler and tries to build
a linux toolchain.
I tried to create a test case. But no luck.
It needs to make LRA generate a reload pattern with a non-input scratch
register operand.
This type of pattern actually is quite common in the target backends.
I also searched the GCC bugzilla website, there is no similar bug reported.
Regards,
Renlin
Regards,
Renlin Li
gcc/ChangeLog:
2016-02-26 Renlin Li<renlin...@arm.com>
* lra-constraints.c (curr_insn_transform): Don't generate reload for
output scratch operand.