[all-commits] [llvm/llvm-project] 80cd6b: [SLP] Enhance SLPVectorizer to vectorize vector ag...
Anton Afanasyev via All-commits
all-commits at lists.llvm.org
Fri Nov 22 09:07:22 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 80cd6b6e043f04ff7cb525bc1f09ab1f6400e9db
https://github.com/llvm/llvm-project/commit/80cd6b6e043f04ff7cb525bc1f09ab1f6400e9db
Author: Anton Afanasyev <anton.a.afanasyev at gmail.com>
Date: 2019-11-22 (Fri, 22 Nov 2019)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/pr42022.ll
Log Message:
-----------
[SLP] Enhance SLPVectorizer to vectorize vector aggregate
Summary:
Vector aggregate is homogeneous aggregate of vectors like `{ <2 x float>, <2 x float> }`.
This patch allows `findBuildAggregate()` to consider vector aggregates as
well as scalar ones. For instance, `{ <2 x float>, <2 x float> }` maps to `<4 x float>`.
Fixes vector part of llvm.org/PR42022
Reviewers: RKSimon
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70068
More information about the All-commits
mailing list