[Mlir-commits] [mlir] ac14b83 - [mlir] Give GenericAtomicRMW region a name
Jacques Pienaar
llvmlistbot at llvm.org
Sun Oct 24 19:50:27 PDT 2021
Author: Jacques Pienaar
Date: 2021-10-24T19:50:15-07:00
New Revision: ac14b8396e610276e221958445764fca1c936015
URL: https://github.com/llvm/llvm-project/commit/ac14b8396e610276e221958445764fca1c936015
DIFF: https://github.com/llvm/llvm-project/commit/ac14b8396e610276e221958445764fca1c936015.diff
LOG: [mlir] Give GenericAtomicRMW region a name
Some tools assume all regions have names, provide one to avoid breakage.
Added:
Modified:
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td b/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
index 35d6e161e359..48fa58b53772 100644
--- a/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
+++ b/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
@@ -296,7 +296,7 @@ def GenericAtomicRMWOp : Std_Op<"generic_atomic_rmw", [
let results = (outs
AnyTypeOf<[AnySignlessInteger, AnyFloat]>:$result);
- let regions = (region AnyRegion);
+ let regions = (region AnyRegion:$atomic_body);
let skipDefaultBuilders = 1;
let builders = [OpBuilder<(ins "Value":$memref, "ValueRange":$ivs)>];
More information about the Mlir-commits
mailing list