[SLP] Add test to check for GEP vectorization
authorZain Jaffal <z_jaffal@apple.com>
Mon, 27 Mar 2023 16:52:07 +0000 (17:52 +0100)
committerZain Jaffal <z_jaffal@apple.com>
Mon, 27 Mar 2023 16:52:55 +0000 (17:52 +0100)
commit984b46e6cc2ad9291959827b99913deac90d698e
tree47e30aacc70fa9f323a54d4365fd78f913d01364
parent0f4c9c016caf52dc45934e0cbf82b1daabcf1d96
[SLP] Add test to check for GEP vectorization

add a test to check for gep vectorization after the change from D144128 where the gep vectorization is dependant on the target hook `prefersVectorizedAddressing()`

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D146540
llvm/test/Transforms/SLPVectorizer/AArch64/vector-getelementptr.ll [new file with mode: 0644]