[all-commits] [llvm/llvm-project] ef2f46: [MLIR][SPIRV] Support two memory access attributes...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Thu Jul 2 10:20:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ef2f46e1f6a63040734c48ed53893298df14b6fa
      https://github.com/llvm/llvm-project/commit/ef2f46e1f6a63040734c48ed53893298df14b6fa
  Author: ergawy <kareem.ergawy at gmail.com>
  Date:   2020-07-02 (Thu, 02 Jul 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/SPIRVOps.td
    M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
    M mlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
    M mlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
    M mlir/test/Dialect/SPIRV/Serialization/memory-ops.mlir
    M mlir/test/Dialect/SPIRV/ops.mlir

  Log Message:
  -----------
  [MLIR][SPIRV] Support two memory access attributes in OpCopyMemory.

This commit augments spv.CopyMemory's implementation to support 2 memory
access operands. Hence, more closely following the spec. The following
changes are introduces:

- Customize logic for spv.CopyMemory serialization and deserialization.
- Add 2 additional attributes for source memory access operand.

Reviewed By: antiagainst

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




More information about the All-commits mailing list