Depends On D79764
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good but please fix the test and address the TensorReshape / memref folding discrepancy.
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | ||
---|---|---|
280 | i < e ? | |
300 | we now have value.getDefiningOp<OpTy>() that does this in a more idiomatic way (here and below) | |
1133 | I don't get this, TensorReshape operates on tensors ? | |
mlir/test/Dialect/Linalg/llvm.mlir | ||
227 | no hardcoded names (e.g. %9) in tests please: capture what you need and wildcard the rest. |
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | ||
---|---|---|
1133 | Thanks for catching this. Copy-paste error. |
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | ||
---|---|---|
349 | Drop the extra semicolon here. |
i < e ?