The new pattern is exercised from the TestLinalgTransforms pass.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td | ||
---|---|---|
228 | The comment looks related to low_pad only | |
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h | ||
818 | Nit: minOp looks weird as name here, copy-pasta? | |
mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp | ||
462–464 | It looks like it will actually catch zero integer attribute of _any_ type, but zero constant operation of _only index_ type. How about catching all ConstantIntOp instead? | |
476 | Nit: I think you can just use isNotZeroIndex instead of wrapping a lambda into a lambda | |
510–515 | rewriter.reaplceOpWithNewOp ? |
The comment looks related to low_pad only