================ @@ -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", ---------------- mmha wrote:
See Erichs comment about my placement of `"TernaryOp"` in that list. I just created a PR in the incubator here: https://github.com/llvm/clangir/pull/1586 https://github.com/llvm/llvm-project/pull/137184 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits