]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove dead code from vectorizable_store
authorRichard Biener <rguenther@suse.de>
Fri, 25 Jul 2025 07:04:49 +0000 (09:04 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 25 Jul 2025 10:39:17 +0000 (12:39 +0200)
commitfab1cd65070d9374cda161a881c4f2f9be38ee8a
tree90f0d7249557f272c7d6b64f33b67d8cbc49afe0
parent02213d07210c22fb4408b1b35b6b4261ce7d466d
Remove dead code from vectorizable_store

There's dead code in the else block of a if (!costing_p) block,
after trivial pruning only setting of 'op' remains but that has
no further uses downstream.  I found this looking for remaining
(must-be-dead) uses of vect_get_vec_defs_for_operand.

* tree-vect-stmts.cc (vectorizable_store): Remove trivially
dead code.
gcc/tree-vect-stmts.cc