[all-commits] [llvm/llvm-project] 77a9d1: [mlir][Affine][Vector] Add initial support for 'it...

Diego Caballero via All-commits all-commits at lists.llvm.org
Wed Mar 10 11:02:49 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77a9d1549fcc57946b66fd5bacef3b48a613e872
      https://github.com/llvm/llvm-project/commit/77a9d1549fcc57946b66fd5bacef3b48a613e872
  Author: Diego Caballero <diego.caballero at intel.com>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
    M mlir/test/Dialect/Affine/SuperVectorize/vectorize_1d.mlir

  Log Message:
  -----------
  [mlir][Affine][Vector] Add initial support for 'iter_args' to Affine vectorizer.

This patch adds support for vectorizing loops with 'iter_args' when those loops
are not a vector dimension. This allows vectorizing outer loops with an inner
'iter_args' loop (e.g., reductions). Vectorizing scenarios where 'iter_args'
loops are vector dimensions would require more work (e.g., analysis,
generating horizontal reduction, etc.) not included in this patch.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list