diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2025-06-25 10:44:34 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2025-06-25 10:44:34 +0100 |
commit | 76f7f91de08de49f39c612bdc9a44a6a8b45325f (patch) | |
tree | 6e90910e673e8222caeea8f1ba5cb498d4dc5a06 /libstdc++-v3/testsuite/std | |
parent | 190aaaaf077fe5f318e168a7a1e1aa57058f377e (diff) | |
download | gcc-76f7f91de08de49f39c612bdc9a44a6a8b45325f.zip gcc-76f7f91de08de49f39c612bdc9a44a6a8b45325f.tar.gz gcc-76f7f91de08de49f39c612bdc9a44a6a8b45325f.tar.bz2 |
rtl-ssa: Rewrite process_uses_of_deleted_def [PR120745]
process_uses_of_deleted_def seems to have been written on the assumption
that non-degenerate phis would be explicitly deleted by an insn_change,
and that the function therefore only needed to delete degenerate phis.
But that was inconsistent with the rest of the code, and wouldn't be
very convenient in any case.
This patch therefore rewrites process_uses_of_deleted_def to handle
general phis.
I'm not aware that this fixes any issues in current code, but it is
needed to enable the rtl-ssa dce work that Ondřej and Honza are
working on.
gcc/
PR rtl-optimization/120745
* rtl-ssa/changes.cc (process_uses_of_deleted_def): Rewrite to
handle deletions of non-degenerate phis.
Diffstat (limited to 'libstdc++-v3/testsuite/std')
0 files changed, 0 insertions, 0 deletions