https://github.com/rengolin commented: I was expecting this would actually check if the op has the right method, perhaps driven by implementing an interface or something. The code here is mostly moving things round, NFC almost. https://github.com/llvm/llvm-project/pull/110708