The implementation of fusing std.constant producer with a
linalg.indexed_generic consumer was already in place. It is exposed
with this change. Also cleaning up some of the patterns that implement
the fusion to not be templated, thereby avoiding lot of conditional
checks for calling the right instantiation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Addressing comments
mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp | ||
---|---|---|
780 | No it doesnt. SmalLVector doesnt have a constructor that accepts a range. |
mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp | ||
---|---|---|
780 | OperandRange implicitly converts to SmallVector though, so I would have expected it to just work. |
nit: Drop trivial braces here.