diff options
author | Richard Biener <rguenther@suse.de> | 2021-05-03 12:07:58 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-05-03 15:11:03 +0200 |
commit | 32955416d8040b1fa1ba21cd4179b3264e6c5bd6 (patch) | |
tree | 12f8a6b4cf1079178105266a7b4ff4a36296899d /gcc/builtins.c | |
parent | ed3c43224cc4e378dbab066122bc63536ccb1276 (diff) | |
download | gcc-32955416d8040b1fa1ba21cd4179b3264e6c5bd6.zip gcc-32955416d8040b1fa1ba21cd4179b3264e6c5bd6.tar.gz gcc-32955416d8040b1fa1ba21cd4179b3264e6c5bd6.tar.bz2 |
Improve PHI handling in DSE
This improves handling of PHI defs when walking uses in
dse_classify_store to track two PHI defs. This happens
when there are CFG merges and one PHI feeds into another.
If we decide to want more then using a sbitmap for this might be
the way to go.
2021-05-03 Richard Biener <rguenther@suse.de>
* tree-ssa-dse.c (dse_classify_store): Track two PHI defs.
* gcc.dg/tree-ssa/ssa-dse-42.c: New testcase.
* gcc.dg/pr81192.c: Disable DSE.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions