diff options
author | Christoph Muellner <cmuellner@gcc.gnu.org> | 2021-05-10 14:39:03 +0200 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2021-06-02 14:01:35 -0700 |
commit | d5ba2eaf7032f234fdcf11d9cfc513ce7be0a255 (patch) | |
tree | 7729bde85ac525d322da192cb4fa01dcad591bb5 /gcc/tree-inline.c | |
parent | 50b1de860a58bf85b40a72219bc2fdfaf0dff355 (diff) | |
download | gcc-d5ba2eaf7032f234fdcf11d9cfc513ce7be0a255.zip gcc-d5ba2eaf7032f234fdcf11d9cfc513ce7be0a255.tar.gz gcc-d5ba2eaf7032f234fdcf11d9cfc513ce7be0a255.tar.bz2 |
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.
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions