This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][lower-subreg] Fix PR87507


> 	PR rtl-optimization/87507
> 	* lower-subreg.c (operand_for_simple_move_operator): New function.
> 	(simple_move): Strip simple operators.
> 	(find_pseudo_copy): Likewise.
> 	(resolve_operand_for_simple_move_operator): New function.
> 	(resolve_simple_move): Strip simple operators and swap operands.
> 
> gcc/testsuite/
> 	PR rtl-optimization/87507
> 	* gcc.target/powerpc/pr87507.c: New test.
> 	* gcc.target/powerpc/pr68805.c: Update expected results.

OK with the s/simple/swap/ change suggested by Richard.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]