The current folder of constant -> generic op only handles splat
constants. The same logic holds for scalar constants. Teach the
pattern to handle such cases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp | ||
---|---|---|
1165–1167 | Perhaps rename the rewriter (and class comment)? |
Perhaps rename the rewriter (and class comment)?
Not a super big deal, but it is a FoldConstants rewriter now!