[all-commits] [llvm/llvm-project] 0712ea: [mlir][spirv] Enable composite instructions for co...

Thomas via All-commits all-commits at lists.llvm.org
Thu May 21 12:20:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0712eac76616a088f1f1183399049560e69c3506
      https://github.com/llvm/llvm-project/commit/0712eac76616a088f1f1183399049560e69c3506
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2020-05-21 (Thu, 21 May 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
    M mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h
    M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
    M mlir/lib/Dialect/SPIRV/SPIRVTypes.cpp
    M mlir/test/Dialect/SPIRV/Serialization/cooperative-matrix.mlir
    M mlir/test/Dialect/SPIRV/composite-ops.mlir
    M mlir/test/Dialect/SPIRV/cooperative-matrix.mlir

  Log Message:
  -----------
  [mlir][spirv] Enable composite instructions for cooperative matrix type.

Enable inset/extract/construct composite ops as well as access chain for
cooperative matrix. ConstantComposite requires more change and will be done in
a separate patch. Also fix the getNumElements function for coopMatrix per
feedback from Jeff Bolz. The number of element is implementation dependent so
it cannot be known at compile time.

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




More information about the All-commits mailing list