This is an archive of the discontinued LLVM Phabricator instance.

[mlir][EmitC] Remove the type from the OpaqueAttr
ClosedPublic

Authored by marbre on Aug 11 2022, 3:46 AM.

Details

Summary

This removes the type from EmitC's opaque attribute. The value provided
as a StringRefParameter can always be emitted as is. In consquence the
constant and variable ops explicitly need to opaque attributes which are
no longer typed attributes.

Co-authored-by: Simon Camphausen <simon.camphausen@iml.fraunhofer.de>

Diff Detail

Event Timeline

marbre created this revision.Aug 11 2022, 3:46 AM
marbre requested review of this revision.Aug 11 2022, 3:46 AM
jpienaar accepted this revision.Aug 11 2022, 5:47 AM
This revision is now accepted and ready to land.Aug 11 2022, 5:47 AM
Mogball accepted this revision.Aug 11 2022, 9:04 AM

Thanks!

This revision was automatically updated to reflect the committed changes.