This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Linalg] Add unary named ops to linalg
ClosedPublic

Authored by rengolin on Jul 6 2023, 8:27 AM.

Details

Summary

Following binary arithmetic in previous commits, this patch adds unary
maths ops to linalg.

It also fixes a few of the previous tests, and makes the binary ops call
BinaryFn.<op> directly instead of relying on Python to recognise the
operation.

Diff Detail

Event Timeline

rengolin created this revision.Jul 6 2023, 8:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2023, 8:27 AM
rengolin requested review of this revision.Jul 6 2023, 8:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2023, 8:27 AM
This revision is now accepted and ready to land.Jul 7 2023, 2:20 AM
This revision was automatically updated to reflect the committed changes.