[mlir] Fix wrong type in WmmaConstantOpToNVVMLowering
authorthomasraoux <thomasraoux@google.com>
Wed, 30 Jun 2021 07:00:11 +0000 (00:00 -0700)
committerthomasraoux <thomasraoux@google.com>
Wed, 30 Jun 2021 16:10:02 +0000 (09:10 -0700)
commit0298f2cfb1df80741a08fb7cd1eec9da70ed3441
tree2a7d36f503e3ce3782d9d80aa5b57d3fbc229247
parent439284194959a896eab273c5c2cda2b983aa85af
[mlir] Fix wrong type in WmmaConstantOpToNVVMLowering

InsertElement takes a scalar integer attribute not an array of integer.

Differential Revision: https://reviews.llvm.org/D105174
mlir/lib/Conversion/GPUToNVVM/WmmaOpsToNvvm.cpp
mlir/test/Conversion/GPUToNVVM/wmma-ops-to-nvvm.mlir