This is an archive of the discontinued LLVM Phabricator instance.

[mlir][py] Fix infer return type invocation for variadics
ClosedPublic

Authored by jpienaar on Feb 2 2023, 7:48 PM.

Details

Summary

Previously we only allowed the flattened list passed in, but the same
input provided here as to buildGeneric so flatten accordingly. We have
less info here than in buildGeneric so the error is more generic if
unpacking fails.

Diff Detail

Event Timeline

jpienaar created this revision.Feb 2 2023, 7:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2023, 7:48 PM
jpienaar requested review of this revision.Feb 2 2023, 7:48 PM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 6 2023, 5:04 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.

Looks like this caused a failure in the mlir buildbot due to an unused variable: https://lab.llvm.org/buildbot/#/builders/13/builds/31682

Sending quick fix.