[mlir:LLVM] Rudimentary inlining support for LLVM load store.
authorJohannes de Fine Licht <johannes.definelicht@nextsilicon.com>
Mon, 9 Jan 2023 09:28:10 +0000 (10:28 +0100)
committerTobias Gysi <tobias.gysi@nextsilicon.com>
Mon, 9 Jan 2023 09:28:21 +0000 (10:28 +0100)
commit758be971dc11379ba2ee7c47099b59871467d56e
tree3911bba16b4ad7f91b90bf73742c1f56051ecd89
parent51e36f217f868183059aa72e2f69d1f8492330e3
[mlir:LLVM] Rudimentary inlining support for LLVM load store.

Conservatively only allow inlining for loads and stores that don't carry
any attributes that require handling while inlining. This can later be
relaxed when proper handling is introduced.

Reviewed By: Dinistro, gysit

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