[all-commits] [llvm/llvm-project] fa8a10: [mlir][Vector] Refactor vector distribution and fi...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Fri Sep 2 02:18:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa8a10a1fd0dfd6e54822a033fb8b0900bd19c6d
      https://github.com/llvm/llvm-project/commit/fa8a10a1fd0dfd6e54822a033fb8b0900bd19c6d
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2022-09-02 (Fri, 02 Sep 2022)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp
    M mlir/test/Dialect/Vector/vector-warp-distribute.mlir

  Log Message:
  -----------
  [mlir][Vector] Refactor vector distribution and fix an issue related to non-homogenous transfer indices.

Running: `mlir-opt -test-vector-warp-distribute=rewrite-warp-ops-to-scf-if -canonicalize -verify-each=0`.

Prior to this revision, IR resembling the following would be produced:
```
  %4 = "vector.load"(%3, %arg0) : (memref<1x32xf32, 3>, index) -> vector<1x1xf32>
```
This fails verification since it needs 2 indices to load but only 1 is provided.

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




More information about the All-commits mailing list