llvm-project/llvm/test/Transforms/LoadStoreVectorizer
Nikita Popov 9d720dcb89 [LoadStoreVectorizer] Make aliasing check more precise
The load store vectorizer currently uses isNoAlias() to determine
whether memory-accessing instructions should prevent vectorization.
However, this only works for loads and stores. Additionally, a
couple of intrinsics like assume are special-cased to be ignored.

Instead use getModRefInfo() to generically determine whether the
instruction accesses/modifies the relevant location. This will
automatically handle all inaccessiblememonly intrinsics correctly
(as well as other calls that don't modref for other reasons).
This requires generalizing the code a bit, as it was previously
only considering loads and stored in particular.

Differential Revision: https://reviews.llvm.org/D109020
2021-09-01 18:10:09 +02:00
..
AMDGPU Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
NVPTX
X86 [LoadStoreVectorizer] Support opaque pointers 2021-06-27 15:42:16 +02:00
int_sideeffect.ll [LoadStoreVectorizer] Make aliasing check more precise 2021-09-01 18:10:09 +02:00