================
@@ -1796,6 +1810,10 @@ LogicalResult SimdOp::verify() {
   if (getNestedWrapper())
     return emitOpError() << "must wrap an 'omp.loop_nest' directly";
 
+  if (llvm::cast<ComposableOpInterface>(getOperation()).isComposite())
----------------
skatrak wrote:

This check is incorrect, since `omp.simd` might be part of a composite 
construct as long as there are other loop wrappers, which always come before 
it. The check here should be what I suggested for `omp.wsloop` above.

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

Reply via email to