This will prevent fusion that spans all dims and generates
(d0, d1, ...) -> () reshape that isn't legal
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp | ||
---|---|---|
535 | Could we update the logic above to not create such reassociationExprs to begin with? |
mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp | ||
---|---|---|
535 | I moved the condition within the folding loop and added a comment to explain why this should fail the pattern. PTAL |
Could we update the logic above to not create such reassociationExprs to begin with?