Mix-in classes of the Python bindings have the risk of running out of
sync with respect to the tablegen definition of their underlying op. If
that op gets new parameters or required parameters are renamed, existing
test cases usually don't break. This patch creates a helper that allows
to print the parameters of the generated base classes such that they can
be CHECKed in the corresponding tests.
I have only currently added such a test for one op to gather feedback
and plan to add more tests once I see people like the idea.