You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The solution is probably to parse %c1_i32 : i32 to an operand of type OpResult in
%1 = cf.br^bb3(%c1_i32 : i32)
This way, all the normal logic still works.
As far as I can see, this shouldn't give problems with more complex branching like cf.cond_br. For example, this case doesn't pass an argument in the cf.cond_br:
Given some op result like
%0
in, for example,it is clear that the user is
arith.addi
where the usage is via theOpOperand
%0
.However, it is also possible to have the following usage:
Now the usage is via a
Value::BlockArgument
.This is a problem for the
users
function since there is no supertype for these types.The text was updated successfully, but these errors were encountered: