This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

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

LGTM!

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.