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

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Thu Jul 9 17:23:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3847a6ae759e0be06b9a3cd3d303099a6cd41d7d
      https://github.com/llvm/llvm-project/commit/3847a6ae759e0be06b9a3cd3d303099a6cd41d7d
  Author: ergawy <kareem.ergawy at gmail.com>
  Date:   2020-07-09 (Thu, 09 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/D83241




More information about the All-commits mailing list