[SLP][AArch64] Add test to check for the vectorization of fshl
authorZain Jaffal <z_jaffal@apple.com>
Tue, 28 Mar 2023 16:41:08 +0000 (17:41 +0100)
committerZain Jaffal <z_jaffal@apple.com>
Tue, 28 Mar 2023 16:46:33 +0000 (17:46 +0100)
commit4d7d4543344b3bb99d971f5393de2d538cfb391c
treefc71f54db1560de7d94bd852ecd2670cb74da969
parent916425b2d1644cad3dc96c52d27a78f523472bb7
[SLP][AArch64] Add test to check for the vectorization of fshl

Currently the cost for fshl is an overestimate causing SLP to vectorize when it is not necessary.

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D147056
llvm/test/Transforms/SLPVectorizer/AArch64/fshl.ll [new file with mode: 0644]