aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-05-20 12:24:40 +0200
committerRichard Biener <rguenther@suse.de>2022-05-24 08:20:11 +0200
commit1adf11822bd48f4d65156b7642514630c08c4d00 (patch)
treeaa6609c0216133df578f8a3d5b510dd6c0e1192e /gcc/fortran
parentd918faea1217596877a35c4946500399731fbbd3 (diff)
downloadgcc-1adf11822bd48f4d65156b7642514630c08c4d00.zip
gcc-1adf11822bd48f4d65156b7642514630c08c4d00.tar.gz
gcc-1adf11822bd48f4d65156b7642514630c08c4d00.tar.bz2
tree-optimization/100221 - improve DSE a bit
When facing multiple PHI defs and one feeding the other we can postpone processing uses of one and thus can proceed. 2022-05-20 Richard Biener <rguenther@suse.de> PR tree-optimization/100221 * tree-ssa-dse.cc (contains_phi_arg): New function. (dse_classify_store): Postpone PHI defs that feed another PHI in defs. * gcc.dg/tree-ssa/ssa-dse-44.c: New testcase. * gcc.dg/tree-ssa/ssa-dse-45.c: Likewise.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions