aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2codeview.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-08-23 13:44:29 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2024-08-23 14:37:27 +0200
commitde1923f9f4d5344694c22ca883aeb15caf635734 (patch)
tree60860333f45e74e01768249af3693af209623b03 /gcc/dwarf2codeview.cc
parenta35dd276cbf6236e08bcf6e56e62c2be41cf6e3c (diff)
downloadgcc-de1923f9f4d5344694c22ca883aeb15caf635734.zip
gcc-de1923f9f4d5344694c22ca883aeb15caf635734.tar.gz
gcc-de1923f9f4d5344694c22ca883aeb15caf635734.tar.bz2
tree-optimization/116463 - complex lowering leaves around dead stmts
Complex lowering generally replaces existing complex defs with COMPLEX_EXPRs but those might be dead when it can always refer to components from the lattice. This in turn can pessimize followup transforms like forwprop and reassoc, the following makes sure to get rid of dead COMPLEX_EXPRs generated by using simple_dce_from_worklist. PR tree-optimization/116463 * tree-complex.cc: Include tree-ssa-dce.h. (dce_worklist): New global. (update_complex_assignment): Add SSA def to the DCE worklist. (tree_lower_complex): Perform DCE.
Diffstat (limited to 'gcc/dwarf2codeview.cc')
0 files changed, 0 insertions, 0 deletions