[MLIR] Verify there are no side-effecting ops in GenericAtomicRMWOp body.
authorAlexander Belyaev <pifon@google.com>
Wed, 22 Apr 2020 07:02:00 +0000 (09:02 +0200)
committerAlexander Belyaev <pifon@google.com>
Wed, 22 Apr 2020 07:02:58 +0000 (09:02 +0200)
commit146d52e732877d9d74b81b7559fe6a7647351d52
treeca455c2e2ae3e5f9d7c7c8908b82354c2a2595ac
parentc22876b550f5905b1cb7a4a0f329e76fac3e0232
[MLIR] Verify there are no side-effecting ops in GenericAtomicRMWOp body.

Differential Revision: https://reviews.llvm.org/D78559
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
mlir/lib/Dialect/StandardOps/IR/Ops.cpp
mlir/test/IR/invalid-ops.mlir