This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Enable converting dialect attributes on external functions
ClosedPublic

Authored by skatrak on Aug 3 2023, 4:32 AM.

Details

Summary

This patch modifies the MLIR-to-LLVMIR translation pass to enable dialect attributes attached to external functions being processed by the corresponding dialect's translation interface via amendOperation().

Diff Detail

Event Timeline

skatrak created this revision.Aug 3 2023, 4:32 AM
Herald added a project: Restricted Project. · View Herald Transcript
skatrak requested review of this revision.Aug 3 2023, 4:32 AM
ftynse requested changes to this revision.Aug 4 2023, 2:25 AM

Please add a test.

This revision now requires changes to proceed.Aug 4 2023, 2:25 AM
skatrak updated this revision to Diff 548138.Aug 8 2023, 3:40 AM

Add unit test.

ftynse accepted this revision.Aug 8 2023, 9:03 AM
This revision is now accepted and ready to land.Aug 8 2023, 9:03 AM