diff options
author | Richard Biener <rguenther@suse.de> | 2022-07-04 15:03:33 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-07-05 09:28:45 +0200 |
commit | b55284f4a1235fccd8254f539ddc6b869580462b (patch) | |
tree | f80dc4f8aa2b8f414886d80472aefcac3fe2ba27 /gcc/tree-vect-patterns.cc | |
parent | 8467574d8daac47e0cf5b694f6c012aad8d630a6 (diff) | |
download | gcc-b55284f4a1235fccd8254f539ddc6b869580462b.zip gcc-b55284f4a1235fccd8254f539ddc6b869580462b.tar.gz gcc-b55284f4a1235fccd8254f539ddc6b869580462b.tar.bz2 |
tree-optimization/106182 - LC SSA after CFG cleanup
The testcase shows that when cleaning up the CFG we can end up
with broken LC SSA (for virtual operands with the testcase). The
case here involves deleting a loop after which it is not enough
to scan the blocks with changed loop depth for SSA uses that need
to be rewritten. So make fix_loop_sturcture return the sum of
the number of new loops and the number of deleted loops.
PR tree-optimization/106182
* loop-init.cc (fix_loop_structure): Return the number
of newly discovered plus the number of deleted loops.
* tree-cfgcleanup.cc (repair_loop_structures): Adjust
variable name.
* gcc.dg/torture/pr106182.c: New testcase.
Diffstat (limited to 'gcc/tree-vect-patterns.cc')
0 files changed, 0 insertions, 0 deletions