This is an archive of the discontinued LLVM Phabricator instance.

[mlir][python] Downcast attributes in more places
ClosedPublic

Authored by rkayaith on Jul 4 2023, 1:55 PM.

Details

Summary

Update remaining PyAttribute-returning APIs to return MlirAttribute instead,
so that they go through the downcasting mechanism.

Diff Detail

Event Timeline

rkayaith created this revision.Jul 4 2023, 1:55 PM
Herald added a project: Restricted Project. · View Herald Transcript
rkayaith published this revision for review.Jul 4 2023, 4:17 PM
rkayaith added a reviewer: makslevental.
This revision is now accepted and ready to land.Jul 5 2023, 1:04 PM
This revision was automatically updated to reflect the committed changes.