[mlir] sret and byval now require a type argument when constructed.
authorEric Schweitz <eschweitz@nvidia.com>
Tue, 26 Jan 2021 18:18:44 +0000 (10:18 -0800)
committerEric Schweitz <eschweitz@nvidia.com>
Tue, 26 Jan 2021 18:47:19 +0000 (10:47 -0800)
commit1d6df1fcf0a754adff8b66f3445d7d5ab130434e
tree87f43b9ce52678ebe47e6035f5907cfc33c25e7e
parent302432f75dadcc78aa4764f3e5e86bf07466a554
[mlir] sret and byval now require a type argument when constructed.

Fixes the LLVM code gen bugs and adds the missing tests.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D95378
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
mlir/test/Target/llvmir.mlir