[mlir][gpu][NFC] Simplify conversion of MMA type to NVVM
authorthomasraoux <thomasraoux@google.com>
Tue, 8 Jun 2021 05:25:30 +0000 (22:25 -0700)
committerthomasraoux <thomasraoux@google.com>
Wed, 9 Jun 2021 16:33:38 +0000 (09:33 -0700)
commit9b496c2373dc4228726b6b3813bf759233e98094
tree16f268a64b13500b0ba9a5a0bfc69de2ab0a1b1e
parentb76f1f120285fe60b347220e705f0e6008d8cf65
[mlir][gpu][NFC] Simplify conversion of MMA type to NVVM

Consolidate the type conversion in a single function to make it simpler
to use. This allow to re-use the type conversion for up coming ops.

Differential Revision: https://reviews.llvm.org/D103868
mlir/lib/Conversion/GPUToNVVM/WmmaOpsToNvvm.cpp