In conversion of tensor.insert_slice op with leading dimensions of size
1 to rank-reduced version, an out-of-bounds call to ArrayRef::slice
causes a crash. It looks like the reassociation is incorrectly computed
for tensors with leading dimensions of size 1.
I'm sure there's a better way to fix this, input would be welcome.
See https://github.com/llvm/llvm-project/issues/60291 for more info.
Could you document what the insert argument is doing. I am not following whats happening here.