projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f10835a
)
[MLIR] Add RecursiveSideEffects to Loops::ParallelOp.
author
Tres Popp
<tpopp@google.com>
Thu, 23 Apr 2020 12:03:11 +0000
(14:03 +0200)
committer
Tres Popp
<tpopp@google.com>
Fri, 24 Apr 2020 14:44:03 +0000
(16:44 +0200)
Summary:
This is to specify that ParallelOp does not have side effects on its own
but has the effects of all operations executed in its region.
Differential Revision: https://reviews.llvm.org/D78707
mlir/include/mlir/Dialect/LoopOps/LoopOps.td
patch
|
blob
|
history
diff --git
a/mlir/include/mlir/Dialect/LoopOps/LoopOps.td
b/mlir/include/mlir/Dialect/LoopOps/LoopOps.td
index
8567257
..
3e0004a
100644
(file)
--- a/
mlir/include/mlir/Dialect/LoopOps/LoopOps.td
+++ b/
mlir/include/mlir/Dialect/LoopOps/LoopOps.td
@@
-259,6
+259,7
@@
def IfOp : Loop_Op<"if",
def ParallelOp : Loop_Op<"parallel",
[AttrSizedOperandSegments,
DeclareOpInterfaceMethods<LoopLikeOpInterface>,
+ RecursiveSideEffects,
SingleBlockImplicitTerminator<"YieldOp">]> {
let summary = "parallel for operation";
let description = [{