This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Lower Shape binary ops (AddOp, MulOp) to Standard.
ClosedPublic

Authored by pifon2a on Jun 7 2020, 9:02 AM.

Diff Detail

Event Timeline

pifon2a created this revision.Jun 7 2020, 9:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2020, 9:02 AM
frgossen accepted this revision.Jun 8 2020, 3:39 AM
frgossen added inline comments.
mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
23

nit: If these were called SrcOp/DstOp it could be clearer that these are operations, not types.

This revision is now accepted and ready to land.Jun 8 2020, 3:39 AM
pifon2a updated this revision to Diff 269219.Jun 8 2020, 7:13 AM

Addressed the comment.

herhut accepted this revision.Jun 8 2020, 8:58 AM

Nice! Thanks.

This revision was automatically updated to reflect the committed changes.
jpienaar added inline comments.Jun 8 2020, 11:32 AM
mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
31

What does the adaptor give you which the generated op doesn't?