]> git.ipfire.org Git - thirdparty/gcc.git/commit
TLC for vectorizable_reduction
authorRichard Biener <rguenther@suse.de>
Thu, 4 Sep 2025 11:58:56 +0000 (13:58 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 4 Sep 2025 13:23:07 +0000 (15:23 +0200)
commit6cc5328cd67472fb7565ee6c3274f227c66dfcf5
tree228dd444c4d557c11f29818226b2fdb9396c08d6
parente3d5e9f0c8c6f27bf59d321d5082be7b3bb39f8a
TLC for vectorizable_reduction

The following removes never taken paths and consolidates the
nested_cycle and double_reduc variables which are the same.

* tree-vect-loop.cc (vectorizable_reduction): Eliminate
nested_cycle in favor of double_reduc and set that where
it makes most sense.  Remove never taken paths and always
true conditions.
gcc/tree-vect-loop.cc