This is an archive of the discontinued LLVM Phabricator instance.

Adopt Properties to store operations inherent Attributes in the Vector dialect
ClosedPublic

Authored by mehdi_amini on Apr 21 2023, 9:39 AM.

Details

Summary

This is part of an on-going migration to adopt Properties inside MLIR.

Diff Detail

Event Timeline

mehdi_amini created this revision.Apr 21 2023, 9:39 AM
Herald added a project: Restricted Project. · View Herald Transcript
mehdi_amini requested review of this revision.Apr 21 2023, 9:39 AM

clang-format

Rebase after improving diagnostic on invalid IR

rriddle accepted this revision.Apr 23 2023, 11:06 PM
rriddle added inline comments.
mlir/lib/Dialect/Vector/IR/VectorOps.cpp
1157–1159

Would be nice if there was a way to just extract it from the op, without the explicit casting. This API gets a bit nastier, which is slightly sad.

This revision is now accepted and ready to land.Apr 23 2023, 11:06 PM
This revision was landed with ongoing or failed builds.May 15 2023, 3:36 PM
This revision was automatically updated to reflect the committed changes.