https://github.com/MaheshRavishankar requested changes to this pull request. I dont think we should change the recognizer here. We should drop the unused operand first. I think there is alsready a pattern in Linalg that does this. https://github.com/llvm/llvm-project/pull/151155