diff options
author | Richard Biener <rguenther@suse.de> | 2021-11-18 09:07:22 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-11-18 10:02:17 +0100 |
commit | 8f9f5101d52fec12f0f18dfaf746d18cf1f230d0 (patch) | |
tree | 9aa716db4250a26ddb61728af4042a0ed8306fbe /gcc/tree-vect-loop-manip.c | |
parent | 15f5e70cbb33b40c97325ef9d55557747a148d39 (diff) | |
download | gcc-8f9f5101d52fec12f0f18dfaf746d18cf1f230d0.zip gcc-8f9f5101d52fec12f0f18dfaf746d18cf1f230d0.tar.gz gcc-8f9f5101d52fec12f0f18dfaf746d18cf1f230d0.tar.bz2 |
tree-optimization/103277 - do abnormal cleanup after call DSE
We can now DSE calls in more cases which requires us to eventually
purge dead abnormal edges. This implements this.
2021-11-18 Richard Biener <rguenther@suse.de>
PR tree-optimization/103277
* tree-ssa-dse.c (need_ab_cleanup): New.
(dse_optimize_redundant_stores): Adjust.
(delete_dead_or_redundant_assignment): Get extra
need_ab_cleanup argument and set when abnormal cleanup is
needed.
(dse_optimize_call): Adjust.
(dse_optimize_stmt): Likewise.
(pass_dse::execute): Allocate and deallocate need_ab_cleanup.
Perform abnormal cleanup.
* tree-ssa-dse.h (delete_dead_or_redundant_assignment): Adjust.
* gcc.dg/pr103277.c: New testcase.
Diffstat (limited to 'gcc/tree-vect-loop-manip.c')
0 files changed, 0 insertions, 0 deletions