This is an archive of the discontinued LLVM Phabricator instance.

[mlir][OpDSL] Refactor function handling.
ClosedPublic

Authored by gysit on Feb 17 2022, 11:58 PM.

Details

Summary

Prepare the OpDSL function handling to introduce more function classes. A follow up commit will split ArithFn into UnaryFn and BinaryFn. This revision prepares the split by adding a function kind enum to handle different function types using a single class on the various levels of the stack (for example, there is now one TensorFn and one ScalarFn).

Depends On D119718

Diff Detail