middle-end/108086 - remove PR28238 fix superseeded by PR34018 fix
authorRichard Biener <rguenther@suse.de>
Fri, 16 Dec 2022 08:46:25 +0000 (09:46 +0100)
committerRichard Biener <rguenther@suse.de>
Fri, 16 Dec 2022 09:29:02 +0000 (10:29 +0100)
commit340ddeae6611f6ab524211a009e97a85b4bba549
tree6a00bb093c95bdf8656b4ab93a91ca6b2aeec328
parentddcaa60983b50378bde1b7e327086fe0ce101795
middle-end/108086 - remove PR28238 fix superseeded by PR34018 fix

There's quite special code in copy_bb that handles inline substitution
of a non-invariant address in place of an invariant one that's
now handled by more generic handling of this case in remap_gimple_op_r
so this removes the special casing that happens in a hot path, providing
a small speedup.

PR middle-end/108086
* tree-inline.cc (copy_bb): Remove handling of (foo *)&this->m
substitution which is done in remap_gimple_op_r via
re-gimplifying.
gcc/tree-inline.cc