This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Extend opdsl to support operations on complex types.
ClosedPublic

Authored by bixia on Jun 16 2022, 2:47 PM.

Details

Summary

Linalg opdsl now supports negf/add/sub/mul on complex types.

Add a test.

Diff Detail

Event Timeline

bixia created this revision.Jun 16 2022, 2:47 PM
bixia requested review of this revision.Jun 16 2022, 2:47 PM
aartbik accepted this revision.Jun 16 2022, 3:47 PM
aartbik added inline comments.
mlir/test/python/dialects/linalg/opdsl/emit_misc.py
47

do we want a c64 test too?

This revision is now accepted and ready to land.Jun 16 2022, 3:47 PM