ReturnLike for YieldOp
Looks like it doesn't work
let arguments = (ins Variadic<Index>:$dynamicExtents); let results = (outs AnyRankedTensor:$result); let regions = (region SizedRegion<1>:$body); let assemblyFormat = "$dynamicExtents $body attr-dict";
$dynamicExtents is not buildable. (I guess Variadic<Index> doesn't get inferred properly?)
switched to forward decl.
Me too. When I factored it out, I got errors about ReturnLike being missing and it took me some time to remember that it was in there as well (in the end I just grepped for ReturnLike and found it "oh... yeah, I guess it makes sense for it to be there").
I don't think we should require this. Can you file a starter bug to look into this(if there isn't one already)? It'd be nice to not require these kind of things, especially because it looks broken in this case (YieldOp expects an argument).