================ @@ -1977,9 +1977,10 @@ LogicalResult OrderedRegionOp::verify() { if (getSimd()) return failure(); - if (auto container = (*this)->getParentOfType<WsloopOp>()) { - if (!container.getOrderedValAttr() || - container.getOrderedValAttr().getInt() != 0) + if (auto loopOp = dyn_cast<LoopNestOp>((*this)->getParentOp())) { ---------------- skatrak wrote:
I just made some changes to improve a bit the verification of ordered operations, as well as updating the tests. Let me know if this is a reasonable solution. https://github.com/llvm/llvm-project/pull/89211 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits