]> git.ipfire.org Git - thirdparty/gcc.git/commit
vect: Remove several useless VMAT_INVARIANT checks
authorKewen Lin <linkw@linux.ibm.com>
Tue, 15 Aug 2023 06:36:23 +0000 (01:36 -0500)
committerKewen Lin <linkw@linux.ibm.com>
Tue, 15 Aug 2023 06:36:23 +0000 (01:36 -0500)
commit9ca0ff5e0988c62fe3080e3f4f99edecac37dff8
treeb1cff54c1e3a5d199cbb16cf59a4f406371013e2
parentd5ef0ee307058c5efade84e45228a7576c0141c7
vect: Remove several useless VMAT_INVARIANT checks

In function vectorizable_load, there is one hunk which is
dedicated for the handlings on VMAT_INVARIANT and return
early, it means we shouldn't encounter any cases with
memory_access_type VMAT_INVARIANT in the following code
after that.  This patch is to clean up several useless
checks on VMAT_INVARIANT.  There should be no functional
changes.

gcc/ChangeLog:

* tree-vect-stmts.cc (vectorizable_load): Remove some useless checks
on VMAT_INVARIANT.
gcc/tree-vect-stmts.cc