[mlir][spirv] Support i32 memref.atomic_rmw conversion
authorLei Zhang <antiagainst@google.com>
Wed, 15 Feb 2023 17:51:17 +0000 (17:51 +0000)
committerLei Zhang <antiagainst@google.com>
Wed, 15 Feb 2023 17:53:56 +0000 (17:53 +0000)
commit78e172fc92e74be3347409e4a67432c97f071818
treeec8bf53cd7da8b2f87bd78147c01acdcb04c6478
parent7889f424966e01bd6182b4765edf8c90dee93f29
[mlir][spirv] Support i32 memref.atomic_rmw conversion

These cases can be directly mapped to spirv.AtomicI* ops.

Reviewed By: kuhar

Differential Revision: https://reviews.llvm.org/D143952
mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
mlir/test/Conversion/MemRefToSPIRV/atomic.mlir [new file with mode: 0644]