]> gcc.gnu.org Git - gcc.git/commit
REE: PR rtl-optimization/100264: Handle more PARALLEL SET expressions
authorChristoph Muellner <cmuellner@gcc.gnu.org>
Mon, 10 May 2021 12:39:03 +0000 (14:39 +0200)
committerJim Wilson <jimw@sifive.com>
Wed, 2 Jun 2021 21:01:35 +0000 (14:01 -0700)
commitd5ba2eaf7032f234fdcf11d9cfc513ce7be0a255
tree7729bde85ac525d322da192cb4fa01dcad591bb5
parent50b1de860a58bf85b40a72219bc2fdfaf0dff355
REE: PR rtl-optimization/100264: Handle more PARALLEL SET expressions

Move the check for register targets (i.e. REG_P ()) into the function
get_sub_rtx () and change the restriction of REE to "only one child of
a PARALLEL expression is a SET register expression" (was "only one child of
a PARALLEL expression is a SET expression").

This allows to handle more PARALLEL SET expressions.

gcc/ChangeLog:
PR rtl-optimization/100264
* ree.c (get_sub_rtx): Ignore SET expressions without register
destinations and remove assertion, as it is not valid anymore
with this new behaviour.
(merge_def_and_ext): Eliminate destination check for register
as such SET expressions can't occur anymore.
(combine_reaching_defs): Likewise.
gcc/ree.c
This page took 0.058411 seconds and 6 git commands to generate.