llvm-project/llvm/test/Transforms/LoopVectorize/AArch64
Florian Hahn 39ae86ab72 [AArch64TTI] AArch64 supports NT vector stores through STNP.
This patch adds a custom implementation of isLegalNTStore to AArch64TTI
that supports vector types that can be directly stored by STNP. Note
that the implementation may not catch all valid cases (e.g. because the
vector is a multiple of 256 and could be broken down to multiple valid 256 bit
stores), but it is good enough for LV to vectorize loops with NT stores,
as LV only passes in a vector with 2 elements to check. LV seems to also
be the only user of isLegalNTStore.

We should also do the same for NT loads, but before that we need to
ensure that we properly lower LDNP of vectors, similar to D72919.

Reviewers: dmgreen, samparker, t.p.northover, ab

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D73158
2020-01-22 16:45:24 -08:00
..
aarch64-predication.ll
aarch64-unroll.ll
arbitrary-induction-step.ll [LV] Strip wrap flags from vectorized reductions 2019-12-20 14:48:53 +02:00
arm64-unroll.ll
backedge-overflow.ll
deterministic-type-shrinkage.ll
extractvalue-no-scalarization-required.ll [VectorUtils] Rework the Vector Function Database (VFDatabase). 2020-01-16 15:08:26 +00:00
gather-cost.ll
induction-trunc.ll
interleaved-vs-scalar.ll
interleaved_cost.ll
lit.local.cfg [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
loop-vectorization-factors.ll
max-vf-for-interleaved.ll
no_vector_instructions.ll
nontemporal-load-store.ll [AArch64TTI] AArch64 supports NT vector stores through STNP. 2020-01-22 16:45:24 -08:00
outer_loop_test1_no_explicit_vect_width.ll
pr31900.ll
pr33053.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
pr36032.ll
predication_costs.ll
reduction-small-size.ll Improve reduction intrinsics by overloading result value. 2019-06-13 09:37:38 +00:00
sdiv-pow2.ll
smallest-and-widest-types.ll
type-shrinkage-insertelt.ll