@@ -128,8 +128,8 @@ def PrivateClauseOp : OpenMP_Op<"private", [IsolatedFromAbove, RecipeInterface]>
128
128
129
129
def ParallelOp : OpenMP_Op<"parallel", traits = [
130
130
AttrSizedOperandSegments, AutomaticAllocationScope,
131
+ DeclareOpInterfaceMethods<ComposableOpInterface>,
131
132
DeclareOpInterfaceMethods<LoopWrapperInterface>,
132
- DeclareOpInterfaceMethods<ComposableLoopWrapperInterface>,
133
133
DeclareOpInterfaceMethods<OutlineableOpenMPOpInterface>,
134
134
RecursiveMemoryEffects
135
135
], clauses = [
@@ -357,8 +357,9 @@ def LoopNestOp : OpenMP_Op<"loop_nest", traits = [
357
357
//===----------------------------------------------------------------------===//
358
358
359
359
def WsloopOp : OpenMP_Op<"wsloop", traits = [
360
- AttrSizedOperandSegments, DeclareOpInterfaceMethods<LoopWrapperInterface>,
361
- DeclareOpInterfaceMethods<ComposableLoopWrapperInterface>,
360
+ AttrSizedOperandSegments,
361
+ DeclareOpInterfaceMethods<ComposableOpInterface>,
362
+ DeclareOpInterfaceMethods<LoopWrapperInterface>,
362
363
RecursiveMemoryEffects, SingleBlock
363
364
], clauses = [
364
365
OpenMP_AllocateClauseSkip<assemblyFormat = true>,
@@ -434,8 +435,9 @@ def WsloopOp : OpenMP_Op<"wsloop", traits = [
434
435
//===----------------------------------------------------------------------===//
435
436
436
437
def SimdOp : OpenMP_Op<"simd", traits = [
437
- AttrSizedOperandSegments, DeclareOpInterfaceMethods<LoopWrapperInterface>,
438
- DeclareOpInterfaceMethods<ComposableLoopWrapperInterface>,
438
+ AttrSizedOperandSegments,
439
+ DeclareOpInterfaceMethods<ComposableOpInterface>,
440
+ DeclareOpInterfaceMethods<LoopWrapperInterface>,
439
441
RecursiveMemoryEffects, SingleBlock
440
442
], clauses = [
441
443
OpenMP_AlignedClause, OpenMP_IfClause, OpenMP_LinearClause,
@@ -502,8 +504,9 @@ def YieldOp : OpenMP_Op<"yield",
502
504
// Distribute construct [2.9.4.1]
503
505
//===----------------------------------------------------------------------===//
504
506
def DistributeOp : OpenMP_Op<"distribute", traits = [
505
- AttrSizedOperandSegments, DeclareOpInterfaceMethods<LoopWrapperInterface>,
506
- DeclareOpInterfaceMethods<ComposableLoopWrapperInterface>,
507
+ AttrSizedOperandSegments,
508
+ DeclareOpInterfaceMethods<ComposableOpInterface>,
509
+ DeclareOpInterfaceMethods<LoopWrapperInterface>,
507
510
RecursiveMemoryEffects, SingleBlock
508
511
], clauses = [
509
512
OpenMP_AllocateClause, OpenMP_DistScheduleClause, OpenMP_OrderClause,
@@ -591,8 +594,8 @@ def TaskOp : OpenMP_Op<"task", traits = [
591
594
592
595
def TaskloopOp : OpenMP_Op<"taskloop", traits = [
593
596
AttrSizedOperandSegments, AutomaticAllocationScope,
597
+ DeclareOpInterfaceMethods<ComposableOpInterface>,
594
598
DeclareOpInterfaceMethods<LoopWrapperInterface>,
595
- DeclareOpInterfaceMethods<ComposableLoopWrapperInterface>,
596
599
RecursiveMemoryEffects, SingleBlock
597
600
], clauses = [
598
601
OpenMP_AllocateClause, OpenMP_FinalClause, OpenMP_GrainsizeClause,
0 commit comments