snarang181 wrote: > As for in-tree, i think vector.contract also uses it, so the "only memref and tensor" constraint wouldnt work. You're right on that, I did encounter that, which is why the current simple patch seemed easier. https://github.com/llvm/llvm-project/pull/179072