[all-commits] [llvm/llvm-project] 512da7: [mlir][Vector] Degrade masking information when fo...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Tue Jul 14 23:36:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 512da70be781e1fb1257e9eb442858f19bec2680
      https://github.com/llvm/llvm-project/commit/512da70be781e1fb1257e9eb442858f19bec2680
  Author: Nicolas Vasilache <ntv at google.com>
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/Dialect/Linalg/forward-vector-transfers.mlir

  Log Message:
  -----------
  [mlir][Vector] Degrade masking information when forwarding linalg.copy to vector.transfer

Summary:
linalg.copy + linalg.fill can be used to create a padded local buffer.
The `masked` attribute is only valid on this padded buffer.
When forwarding to vector.transfer ops, the attribute must be reset
conservatively.

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




More information about the All-commits mailing list