[mlir] Use llvm::ElementCount when constructing an llvm splat vector.
authorRiver Riddle <riddleriver@gmail.com>
Thu, 12 Mar 2020 21:22:00 +0000 (14:22 -0700)
committerRiver Riddle <riddleriver@gmail.com>
Thu, 12 Mar 2020 21:26:15 +0000 (14:26 -0700)
commit396a42d924de7e23a23b576937579f26ff826124
tree847efa6a23410d42e339893aa36ff16b5b554462
parent0ddba0bd59c337f16b51a00cb205ecfda46f97fa
[mlir] Use llvm::ElementCount when constructing an llvm splat vector.

This fixes a breakage after the LLVM API changed.
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp