[clang] [CIR] Upstream TernaryOp (PR #137184)
Morris Hafner via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 24 07:47:25 PDT 2025
================
@@ -609,8 +609,8 @@ def ConditionOp : CIR_Op<"condition", [
//===----------------------------------------------------------------------===//
def YieldOp : CIR_Op<"yield", [ReturnLike, Terminator,
- ParentOneOf<["IfOp", "ScopeOp", "WhileOp",
- "ForOp", "DoWhileOp"]>]> {
+ ParentOneOf<["IfOp", "TernaryOp", "ScopeOp",
----------------
mmha wrote:
I put it next to `IfOp` since both are about branching. But maybe lexicographic ordering is more sensible. The incubator does neither FWIW.
https://github.com/llvm/llvm-project/pull/137184
More information about the cfe-commits
mailing list