select.graph { %entry = +select.entry -> !select.chain %N1 = ptr.alloca i32 -> ptr %N2 = i32.constant 3 -> i32 %N3.c = +ptr.store %entry, %N2, %N1 : (!select.chain, i32, ptr) -> !select.chain %N4 = ptr.alloca i32 -> ptr %N5 = i32.constant 0 -> i32 %N6.c = +ptr.store %entry, %N5, %N4 : (!select.chain, i32, ptr) -> !select.chain %N7, %N7.c = +ptr.load %N6.c, %N1 : (!select.chain, ptr) -> (!ivy.id, !select.chain) %N8 = i32.constant 10 -> i32 %N9 = arith.cmp gt %N7, %N8 : (!ivy.id, i32) -> i1 %N10.c = +select.chain-group %N7.c, %N6.c : (!select.chain, !select.chain) -> !select.chain %N11 = +select.block-ref @if.true -> !select.block %N12.c = +cf.br-cond %N10.c, %N9, %N11 : (!select.chain, i1, !select.block) -> !select.chain %N13 = +select.block-ref @if.false -> !select.block %N14.c = cf.br %N12.c, %N13 %N15 = +select.root %N14.c }