aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-10-04 15:25:33 +0200
committerRichard Biener <rguenther@suse.de>2023-10-05 10:23:32 +0200
commitb583a2940af90d03f535648fef111cb158933f7d (patch)
treeb89485b5aea638dc9d07e7f464b9e6ba2fec9cae /gcc/tree-pass.h
parentffbd7c3d0fd1b9b10ef5a0f2b2e64bd234620167 (diff)
downloadgcc-b583a2940af90d03f535648fef111cb158933f7d.zip
gcc-b583a2940af90d03f535648fef111cb158933f7d.tar.gz
gcc-b583a2940af90d03f535648fef111cb158933f7d.tar.bz2
Avoid left around copies when value-numbering BBs
The following makes sure to treat values whose definition we didn't visit as available since those by definition must dominate the entry of the region. That avoids unpropagated copies after if-conversion and resulting SLP discovery fails (which doesn't handle plain copies). * tree-ssa-sccvn.cc (rpo_elim::eliminate_avail): Not visited value numbers are available itself.
Diffstat (limited to 'gcc/tree-pass.h')
0 files changed, 0 insertions, 0 deletions