[all-commits] [llvm/llvm-project] dd5324: [mlir] Disallow broadcast dimensions on TransferWr...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Apr 20 15:44:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd5324467d1d42a3d5d4e7492778ce4997d0bc57
      https://github.com/llvm/llvm-project/commit/dd5324467d1d42a3d5d4e7492778ce4997d0bc57
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-04-21 (Wed, 21 Apr 2021)

  Changed paths:
    M mlir/include/mlir/Interfaces/VectorInterfaces.td
    M mlir/lib/Dialect/Vector/VectorOps.cpp
    M mlir/test/Dialect/Vector/invalid.mlir

  Log Message:
  -----------
  [mlir] Disallow broadcast dimensions on TransferWriteOp.

The current implementation allows for TransferWriteOps with broadcasts that do not make sense. E.g., a broadcast could write a vector into a single (scalar) memory location, which is effectively the same as writing only the last element of the vector.

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




More information about the All-commits mailing list