]> git.ipfire.org Git - thirdparty/gcc.git/commit
vect: Use loop len in vectorizable_scan_store.
authorRobin Dapp <rdapp@ventanamicro.com>
Mon, 1 Dec 2025 16:27:04 +0000 (17:27 +0100)
committerRobin Dapp <rdapp@ventanamicro.com>
Tue, 2 Dec 2025 11:29:23 +0000 (12:29 +0100)
commit464fce5a9f3f1591c465020e62bc15c14aa1b2c9
treedf388a93d45be6a9dec98b244460beba0c42a1e7
parent58305f56176bb1f1f1050211e42eff0056ac1c9c
vect: Use loop len in vectorizable_scan_store.

On riscv we ICE because we use SELECT_VL for a vectorizable_scan_store
that calls vect_get_data_ptr_increment without a loop_lens argument.

This patch just gets the loop_lens and passes them along.

gcc/ChangeLog:

* tree-vect-stmts.cc (vectorizable_scan_store): Pass loop_lens
to vect_get_data_ptr_increment.
gcc/tree-vect-stmts.cc