[all-commits] [llvm/llvm-project] 0e8c68: [mlir][Interfaces] Fix DestinationStyleOpInterface...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Jul 17 08:40:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e8c68c30102e91b992996c4f45e5bc03280923a
      https://github.com/llvm/llvm-project/commit/0e8c68c30102e91b992996c4f45e5bc03280923a
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
    M mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td

  Log Message:
  -----------
  [mlir][Interfaces] Fix DestinationStyleOpInterface for vector ops

This revision fixes `hasTensorSemantics` and `hasBufferSemantics` for vector transfer ops, which may have a vector operand. `VectorType` implements `ShapedType` and such operands do not affect whether an op has tensor or buffer semantics. Also implement `DestinationStyleOpInterface` on `TransferReadOp` so that `hasTensorSemantics`/`hasBufferSemantics` can be called. (The op has no inits, but this makes it symmetric to `TransferWriteOp`.)

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




More information about the All-commits mailing list