[mlir:LLVM] Fix minor bug, missing cconv translation
authorHendrik Greving <hgreving@google.com>
Wed, 11 Jan 2023 17:12:48 +0000 (09:12 -0800)
committerHendrik Greving <hgreving@google.com>
Mon, 16 Jan 2023 20:18:28 +0000 (12:18 -0800)
commit37c750a5fd13ebecf143a7c918aa981fc4ce3e3d
tree13440d9363c268f7f1e593490268fe135ddb0b75
parentee559b21b961c2889837c349b73e08a7b5dafa55
[mlir:LLVM] Fix minor bug, missing cconv translation

Fixes translating the calling convention to LLVM-IR, possibly missed
by https://reviews.llvm.org/D126161, and adds a test.
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
mlir/test/Dialect/LLVMIR/func.mlir