[all-commits] [llvm/llvm-project] a31551: [SLP] Enhance SLPVectorizer to vectorize different...

Anton Afanasyev via All-commits all-commits at lists.llvm.org
Tue Dec 3 08:29:35 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a315519c17abaa621eddd30fd116ac2e030a36e9
      https://github.com/llvm/llvm-project/commit/a315519c17abaa621eddd30fd116ac2e030a36e9
  Author: Anton Afanasyev <anton.a.afanasyev at gmail.com>
  Date:   2019-12-03 (Tue, 03 Dec 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 different combinations of aggregates

Summary:
Make SLPVectorize to recognize homogeneous aggregates like
`{<2 x float>, <2 x float>}`, `{{float, float}, {float, float}}`,
`[2 x {float, float}]` and so on.
It's a follow-up of https://reviews.llvm.org/D70068.
Merged `findBuildVector()` and `findBuildAggregate()` to
one `findBuildAggregate()` function making it recursive
to recognize multidimensional aggregates. Aggregates required
to be homogeneous.

Reviewers: RKSimon, ABataev, dtemirbulatov, spatel, vporpo

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70587




More information about the All-commits mailing list