This is an archive of the discontinued LLVM Phabricator instance.

[mlir:PDL] Adjust the assembly format for AttributeOp to avoid conflicts with DictionaryAttr
ClosedPublic

Authored by rriddle on Nov 30 2021, 1:02 PM.

Details

Summary

Switch the attribute creation operations to use attr-dict-with-
keyword to avoid conflicts (in the case of pdl.attribute) and
confusion(in the case of pdl_interp.create_attribute) with
having a DictionaryAttr as a value and specifying the
attributes of the operation itself (as a dictionary).

Depends On D114814

Diff Detail

Event Timeline

rriddle created this revision.Nov 30 2021, 1:02 PM
rriddle requested review of this revision.Nov 30 2021, 1:02 PM
jpienaar accepted this revision.Dec 2 2021, 6:49 AM

Nit: reflow patch summary on submit

This revision is now accepted and ready to land.Dec 2 2021, 6:49 AM