Open
Description
Does IfOp
's Group
has to be a CombGroupOp
, as required here?
What if we have some examples like:
func.func @main(%arg0 : i32) {
%two = arith.constant 2: i32
%rem = arith.remui %arg0, %two : i32
%cond0 = arith.cmpi eq, %arg0, %rem : i32
scf.if %cond0 {
some operations
} else {
some operations
}
where %cond0
involves comparing the out
of remui_pipe_op
, which is not combinational?
What was the original design criteria? I believe @mortbopet is the original author. Also tagging @rachitnigam @cgyurgyik