Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remote CB operands from ttir.generic (#2376)
### Ticket Closes #1969 ### Problem description We are moving lowering of operands to CB slots to a lower section of the d2m pipeline and hence decided to remove CB operand-related arguments from ttir.generic op. ### What's changed There are two main changes, the first is a generic tablegen cleanup action and is somewhat independent of the second: 1. a new `getDpsOutputs()` helper method in `ttmlir/Dialect/TTIR/IR/Utils.h` will auto-detect whether a concrete OP has single or variadic outputs; using it in `extraClassDeclaration` of selected base tablegen `class`es allows multiple such trivial/repeated declarations to be removed from a number of TTIROps `def`s. 2. ttir.generic has lost CB operands/mapping attributes; the `enqueue program` rewriter in `TTIRToTTMetal.cpp` pass that depends on that logic has been removed for now ### Checklist - [x] multiple existing tests had their operand_cb_mapping attributes removed and `operandSegmentSizes` adjusted accordingly
- Loading branch information