]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/120517 - fix dataref group split math
authorRichard Biener <rguenther@suse.de>
Tue, 3 Jun 2025 12:09:22 +0000 (14:09 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 3 Jun 2025 13:24:47 +0000 (15:24 +0200)
commitf605165ee4baf65a46a16692e3aaa13046cbd283
tree9422312e32c41b3e1f87b8e7f5a814623fbd6df2
parentdcc14761f34f9a9c8a6ed8f0f4e276fa8ef4d950
tree-optimization/120517 - fix dataref group split math

DR_INIT is already measured in bytes, so there's no need to multiply
the DR_INIT difference of two DRs by the size of one of the DRs when
comparing that difference against MAX_BITSIZE_MODE_ANY_MODE.

PR tree-optimization/120517
* tree-vect-data-refs.cc (vect_analyze_data_ref_accesses):
Fix math in dataref group split.
gcc/tree-vect-data-refs.cc