]> git.ipfire.org Git - thirdparty/gcc.git/commit
Apply TLC to vect_analyze_early_break_dependences
authorRichard Biener <rguenther@suse.de>
Wed, 7 Feb 2024 08:12:33 +0000 (09:12 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 7 Feb 2024 12:30:56 +0000 (13:30 +0100)
commit830d4659604e4d0f6e908d1cdb5bf1638a60bb21
tree3c201965c7d90892aaa48972a53586edf6013d00
parent5c3ba60024fedc6b3d374ebb071bcf5b3e27cd62
Apply TLC to vect_analyze_early_break_dependences

There has been some confusion in my understanding of how early breaks
work, the following clarifies some comments and undoes one change that
shouldn't have been necessary.  It also fixes the dependence test
to avoit TBAA (we're moving stores down across loads).

* tree-vect-data-refs.cc (vect_analyze_early_break_dependences):
Only check whether reads are in-bound in places that are not safe.
Fix dependence check.  Add missing newline.  Clarify comments.
gcc/tree-vect-data-refs.cc