[MLIR][LLVM] Put byval static allocas in the entry block.
authorJohannes de Fine Licht <johannes.definelicht@nextsilicon.com>
Mon, 3 Apr 2023 09:07:55 +0000 (09:07 +0000)
committerJohannes de Fine Licht <johannes.definelicht@nextsilicon.com>
Mon, 3 Apr 2023 09:08:35 +0000 (09:08 +0000)
commit76c83b3595a534c5b28bd80039e2115358ba2291
treec8f26e0bc16e325310e40a98d49e6b2bc4105a3a
parentcc90ca6f0fb8e29c8a12d15c93abb9e3839a23ca
[MLIR][LLVM] Put byval static allocas in the entry block.

Reviewed By: gysit

Differential Revision: https://reviews.llvm.org/D147311
mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
mlir/test/Dialect/LLVMIR/inlining.mlir