llvm-project/llvm/test/Transforms/SLPVectorizer/AArch64
Huihui Zhang fc1f205745 [SLPVectorizer][SVE] Bail out early for scalable vector.
Summary:
SLPVectorizer try to vectorize list of scalar instructions of the same type,
instructions already vectorized are rejected through isValidElementType().

Without this patch, tryToVectorizeList() will first try to determine vectorization
factor of a list of Instructions before checking whether each instruction has unsupported
type or not. For instructions already vectorized for SVE, it will crash at getVectorElementSize(),
where it try to return a fixed size.

This patch make sure invalid element types are rejected before trying to get vectorization
factor. This make sure we are not trying to vectorize instructions already vectorized.

Reviewers: sdesmalen, efriedma, spatel, RKSimon, ABataev, apazos, rengolin

Reviewed By: efriedma

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D76017
2020-03-13 11:23:31 -07:00
..
64-bit-vector.ll
PR38339.ll
accelerate-vector-functions.ll [SLP] Support vectorizing functions provided by vector libs. 2020-03-10 13:10:50 +00:00
commute.ll
ext-trunc.ll [SLP] respect target register width for GEP vectorization (PR43578) 2019-10-09 16:32:49 +00:00
gather-cost.ll
gather-reduce.ll
gather-root.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
getelementptr.ll [SLP] respect target register width for GEP vectorization (PR43578) 2019-10-09 16:32:49 +00:00
horizontal.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
invalid_type.ll [SLPVectorizer][SVE] Bail out early for scalable vector. 2020-03-13 11:23:31 -07:00
lit.local.cfg
load-store-q.ll
matmul.ll
minimum-sizes.ll
mismatched-intrinsics.ll
nontemporal.ll
remarks.ll
scalable-vector.ll [SLPVectorizer][SVE] Bail out early for scalable vector. 2020-03-13 11:23:31 -07:00
sdiv-pow2.ll
spillcost-di.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
transpose.ll [SLP] Look-ahead operand reordering heuristic. 2019-11-11 21:06:51 -08:00
tsc-s352.ll