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 | ||
---|---|---|
395 | i < e ? | |
415 | we now have value.getDefiningOp<OpTy>() that does this in a more idiomatic way (here and below) | |
1248 | 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 | ||
---|---|---|
1248 | Thanks for catching this. Copy-paste error. |
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | ||
---|---|---|
464 | Drop the extra semicolon here. |
i < e ?