================
@@ -609,8 +609,8 @@ def ConditionOp : CIR_Op<"condition", [
//===----------------------------------------------------------------------===//
def YieldOp : CIR_Op<"yield", [ReturnLike, Terminator,
- ParentOneOf<["IfOp", "ScopeOp", "WhileOp",
- "ForOp", "DoWhileOp"]>]> {
+ ParentOneOf<["DoWhileOp", "ForOp", "WhileOp",
----------------
andykaylor wrote:
What's the reason for the reordering here?
I've been trying to keep things like this in the same order there are in in the
incubator, but it probably makes sense to alphabetize them both places so we
don't have to keep comparing to see where things should be.
https://github.com/llvm/llvm-project/pull/137184
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits