This is an archive of the discontinued LLVM Phabricator instance.

[mlir][LLVM] Fix empty res attr import
ClosedPublic

Authored by Dinistro on Jun 22 2023, 7:48 AM.

Details

Summary

This commit ensures that an empty list of result attributes is not
imported as an empty ArrayAttr. Instead, the attribute is just not
added to the LLVMFuncOp.

Diff Detail

Event Timeline

Dinistro created this revision.Jun 22 2023, 7:48 AM
Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Dinistro requested review of this revision.Jun 22 2023, 7:48 AM
gysit accepted this revision.Jun 22 2023, 7:50 AM

LGTM!

This revision is now accepted and ready to land.Jun 22 2023, 7:50 AM
This revision was automatically updated to reflect the committed changes.