This is an archive of the discontinued LLVM Phabricator instance.

[mlir] check for failures when packing function sigunatures in std->llvm conversion
ClosedPublic

Authored by ftynse on Sep 14 2020, 4:47 AM.

Details

Summary

When packing function results into a structure during the standard-to-llvm
dialect conversion, do not assume the conversion was successful and propagate
nullptr as error state.

Fixes PR45184.

Diff Detail

Event Timeline

ftynse created this revision.Sep 14 2020, 4:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 14 2020, 4:47 AM
ftynse requested review of this revision.Sep 14 2020, 4:47 AM
nicolasvasilache accepted this revision.Sep 15 2020, 3:11 AM
This revision is now accepted and ready to land.Sep 15 2020, 3:11 AM
This revision was landed with ongoing or failed builds.Sep 15 2020, 3:30 AM
This revision was automatically updated to reflect the committed changes.