Adds transform dialect extension op ApplyPatternsOp from IREE#CommonExtensions to LinalgTransformDialectExtension.
All patterns come over smoothly except for cse (which could be brought over as well by adding ListenerCSE#CSE).
Only bike-sheddable part is where to put the helpers getWmmaNativeVectorSize, getMmaNativeVectorSize, and gpuMmaUnrollOrder; in IREE they live at compiler/Codegen/Utils/GPUUtils but MLIR doesn't have a proper "codegen" module/directory; Conversionis the closest semantical mapping IMHO and hence placing those helpers there. Note, given the name VectorToGPU/Utils, I could also transplant the multitude of helpers in VectorToGPU.cpp; they are all currently static "private" but some are probably generally useful.
Alternatively, especially in light of recent clamor for E2E codegen/runtime examples/functionality in MLIR itself, we could create a Codegen module/directory (maybe Conversion/Codegen). This would enable smoother upstreaming of many more useful things in IREE's compiler but maybe it's better those things are upstreamed in similar fashion (i.e., each thing in a related Conversion/XToY).
This should be saying Utils.h and explaining what the file contains.