Page MenuHomePhabricator

[MLIR][LLVM] Support inlining LLVM::CallOp to LLVM::FuncOp.

Authored by definelicht on Jan 13 2023, 5:43 AM.



Extend LLVMInlinerInterface to handle calls from an LLVM::CallOp to
an LLVM::FuncOp when there are no attributes present that require
special handling.

Depends on D141676

Diff Detail

Event Timeline

definelicht created this revision.Jan 13 2023, 5:43 AM
Herald added a project: Restricted Project. · View Herald Transcript
definelicht requested review of this revision.Jan 13 2023, 5:43 AM

Rebase on the commit that this is stacked on.

gysit accepted this revision.Jan 19 2023, 12:50 AM


This revision is now accepted and ready to land.Jan 19 2023, 12:50 AM

Rebase on commit that treats llvm.return.

Allow inlining functions with the newly added memory attribute.

This revision was landed with ongoing or failed builds.Jan 20 2023, 7:27 AM
This revision was automatically updated to reflect the committed changes.