This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Vector] NFC - Improve VectorInterfaces
ClosedPublic

Authored by nicolasvasilache on Jul 17 2020, 10:34 AM.

Details

Summary

This revision improves and makes better use of OpInterfaces for the Vector dialect.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptJul 17 2020, 10:34 AM
aartbik accepted this revision.Jul 17 2020, 10:51 AM

Nice interface generalization!

This revision is now accepted and ready to land.Jul 17 2020, 10:51 AM
rriddle added inline comments.Jul 17 2020, 10:51 AM
mlir/include/mlir/Interfaces/VectorInterfaces.td
82

This looks identical to what should be generated automatically if you don't specify a body.

nicolasvasilache marked 2 inline comments as done.Jul 20 2020, 5:20 AM
nicolasvasilache added inline comments.
mlir/include/mlir/Interfaces/VectorInterfaces.td
82

Was better as a free function, did that.

This revision was automatically updated to reflect the committed changes.
nicolasvasilache marked an inline comment as done.
mlir/include/mlir/Interfaces/VectorInterfaces.td