diff options
author | Richard Biener <rguenther@suse.de> | 2021-06-22 10:14:02 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-06-22 12:09:59 +0200 |
commit | a2ef8395fa970498985764514044e5fd00f7d5c0 (patch) | |
tree | 10b6023661e131ef103b33f2cca0018f39c8df1f /gcc/tree-data-ref.c | |
parent | 7822285515cd4dab86f722a9f4969b6952904a37 (diff) | |
download | gcc-a2ef8395fa970498985764514044e5fd00f7d5c0.zip gcc-a2ef8395fa970498985764514044e5fd00f7d5c0.tar.gz gcc-a2ef8395fa970498985764514044e5fd00f7d5c0.tar.bz2 |
tree-optimization/101151 - fix irreducible region check for sinking
The check whether two blocks are in the same irreducible region
and thus post-dominance checks being unreliable was incomplete
since an irreducible region can contain reducible sub-regions but
if one block is in the irreducible part and one not the check
still doesn't work as expected.
2021-06-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/101151
* tree-ssa-sink.c (statement_sink_location): Expand irreducible
region check.
* gcc.dg/torture/pr101151.c: New testcase.
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions