forked from OSchip/llvm-project
[MLIR] Add RecursiveSideEffects to Loops::ParallelOp.
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
This commit is contained in:
parent
f10835a034
commit
dc9cff15a2
|
@ -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 = [{
|
||||
|
|
Loading…
Reference in New Issue