[all-commits] [llvm/llvm-project] 467816: [MLIR][Affine][VectorOps] Vectorize uniform values...

Diego Caballero via All-commits all-commits at lists.llvm.org
Wed Sep 2 15:19:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 46781630a34ea2157bf59f9de5dc545dcd61a146
      https://github.com/llvm/llvm-project/commit/46781630a34ea2157bf59f9de5dc545dcd61a146
  Author: Diego Caballero <diego.caballero at intel.com>
  Date:   2020-09-03 (Thu, 03 Sep 2020)

  Changed paths:
    M mlir/include/mlir/IR/Builders.h
    M mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
    A mlir/test/Dialect/Affine/SuperVectorize/uniform_divergent.mlir
    M mlir/test/Dialect/Affine/SuperVectorize/vectorize_1d.mlir

  Log Message:
  -----------
  [MLIR][Affine][VectorOps] Vectorize uniform values in SuperVectorizer

This patch adds basic support for vectorization of uniform values to SuperVectorizer.
For now, only invariant values to the target vector loops are considered uniform. This
enables the vectorization of loops that use function arguments and external definitions
to the vector loops. We could extend uniform support in the future if we implement some
kind of divergence analysis algorithm.

Reviewed By: nicolasvasilache, aartbik

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




More information about the All-commits mailing list