================ @@ -1546,6 +1546,9 @@ LogicalResult ParallelOp::verify() { if (!isWrapper()) return emitOpError() << "must take a loop wrapper role if nested inside " "of 'omp.distribute'"; + if (!llvm::cast<ComposableOpInterface>(getOperation()).isComposite()) ---------------- skatrak wrote:
Same suggestion in all additions to this file. We can avoid the cast. ```suggestion if (!isComposite()) ``` https://github.com/llvm/llvm-project/pull/102341 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits