Skip to content

Commit

Permalink
[mlir][OpDSL] Refactor function handling.
Browse files Browse the repository at this point in the history
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

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D120108
  • Loading branch information
gysit committed Feb 25, 2022
1 parent 9f5f084 commit 4d4cb17
Show file tree
Hide file tree
Showing 7 changed files with 535 additions and 401 deletions.

0 comments on commit 4d4cb17

Please sign in to comment.