Depends On D83191
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td | ||
---|---|---|
521 | I think llvm::Optional<int> is preferable to returning implicit -1 as a sign of the attribute being absent. | |
mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp | ||
321 ↗ | (On Diff #276367) | Do you see a good reason why this code (and below) is using the default autogenerated builder form instead of the custom builder form? Maybe it is worth updating so that next modifications of the Op arguments don't require changes. |
mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp | ||
529 | We shouldn't be having this attribute on the IndexedGenericOp. | |
mlir/test/Dialect/Linalg/invalid.mlir | ||
124 ↗ | (On Diff #276367) | There's no need to check autogenerated error messages |
mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp | ||
---|---|---|
529 | Yeah that's kind of the point of this revision.. I know we should not but I wanted to ask how can I solve it bcos I don't know how to add to arguments instead of rewrite them inside GenericOp definition.. Any suggestion is rly welcomed :) |
mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp | ||
---|---|---|
321 ↗ | (On Diff #276367) | So the problem is that custom builder requires types like int64_t etc. but autogenerated one requires corresponding attributes.. So I would suggest one more custom builder but with attributes. What do you think? |
mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp | ||
---|---|---|
321 ↗ | (On Diff #276367) | Submited it as a bug. You can find it here: https://bugs.llvm.org/show_bug.cgi?id=46658 |
I think llvm::Optional<int> is preferable to returning implicit -1 as a sign of the attribute being absent.